]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-sh: switch to using SIMPLE_DEV_PM_OPS
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:23 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:50 +0000 (15:33 +1100)
commit5744119622fc2e846db64d4741e1bc228d6d930b
treeee43e5f83472eaadb09a95ce57b838ee289e3f94
parent76d2a9ed6ad9997de7919e83da65bb5d18716aa7
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 <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-sh.c