rtc: omap: use of_device_is_system_power_controller function
authorKeerthy <j-keerthy@ti.com>
Fri, 2 Nov 2018 10:28:04 +0000 (15:58 +0530)
committerTero Kristo <t-kristo@ti.com>
Tue, 6 Nov 2018 13:03:46 +0000 (15:03 +0200)
commit015fbd9dad1ef84166332e758bc82b718841b965
tree920b8fdf436d85f3b81e0b77cb37abe96d6f7eb6
parent8f68cd40891fcf729674d29bf011a147e5cb51b4
rtc: omap: use of_device_is_system_power_controller function

commit 0438002ac52637cef5f5734bab56d8d8750e1f37 upstream

Use of_device_is_system_power_controller instead of manually reading
the system-power-controller property from the device tree node.

Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Keerthy <j-keerthy@ti.com>
drivers/rtc/rtc-omap.c