]> git.kernelconcepts.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>
Thu, 21 Mar 2013 05:34:24 +0000 (16:34 +1100)
commit60b44080ef5077495a43aa803762d24fd940b99a
treedd93fa1e4eaebf1493ac34dde3d9fdaa722765af
parent8eb793934581aec783a6f7c37fddf8882e348ff8
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