clocksource/drivers/sh_cmt: Use of_device_get_match_data() helper
commit2d1d5172bf843fb44fcc7d3ff61501e9a6601e74
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 18 Sep 2017 13:46:47 +0000 (18 15:46 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 19 Oct 2017 21:48:59 +0000 (19 23:48 +0200)
treea54e80f1c1b6da4cb7eba27e907db8f48b84cf79
parentd1d285972e24b63eeee8118359dcd4c451b295c5
clocksource/drivers/sh_cmt: Use of_device_get_match_data() helper

Use the existing of_device_get_match_data() helper instead of
open-coding its functionality.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/sh_cmt.c