]> Git Repo - linux.git/commit
rtc: rtc-sh: switch to using SIMPLE_DEV_PM_OPS
authorJingoo Han <[email protected]>
Mon, 29 Apr 2013 23:20:00 +0000 (16:20 -0700)
committerLinus Torvalds <[email protected]>
Tue, 30 Apr 2013 01:28:32 +0000 (18:28 -0700)
commit0ed5054447462976b7577ccf08d422c93ea38095
treec4f60b13100e232a1fd1caa62885b307a3939cc1
parentaaa92fae8c9c3cee7f39e64b1a44df3d77320d49
rtc: rtc-sh: switch to using SIMPLE_DEV_PM_OPS

Switch to using the SIMPLE_DEV_PM_OPS macro to declare the driver's
pm_ops.  It reduces code size.  Also, CONFIG_PM_SLEEP is added to prevent
build warning when CONFIG_PM_SLEEP is not selected.

Signed-off-by: Jingoo Han <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-sh.c
This page took 0.054255 seconds and 4 git commands to generate.