]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rtc: omap: use of_device_is_system_power_controller function
authorKeerthy <j-keerthy@ti.com>
Thu, 16 Aug 2018 05:08:59 +0000 (10:38 +0530)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 27 Aug 2018 20:51:56 +0000 (22:51 +0200)
commit0438002ac52637cef5f5734bab56d8d8750e1f37
tree2e84294678e1c8831f29f462433686b80804845a
parentc6b5eb8dd33480104683d838da10c7ec77d32e8a
rtc: omap: use of_device_is_system_power_controller function

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>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-omap.c