clocksource/drivers/sh_cmt: Use of_device_get_match_data() helper
authorGeert Uytterhoeven <[email protected]>
Mon, 18 Sep 2017 13:46:47 +0000 (15:46 +0200)
committerDaniel Lezcano <[email protected]>
Thu, 19 Oct 2017 21:48:59 +0000 (23:48 +0200)
commit2d1d5172bf843fb44fcc7d3ff61501e9a6601e74
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 <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
drivers/clocksource/sh_cmt.c