]> 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>
Tue, 26 Mar 2013 23:25:44 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Apr 2013 07:29:44 +0000 (18:29 +1100)
commit14911d14500bdf4651714ce2d2b97c04a11e9d58
treeb4f4cfa1c45f7fe3aa6a8ab3862bfc94e3ee8062
parentb96f37dc025833112b739c28c5a00c2983f75ca4
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