i2c: s3c2410: Refactor ifdefs for PM_SLEEP
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 5 Nov 2012 08:33:38 +0000 (09:33 +0100)
committerWolfram Sang <w.sang@pengutronix.de>
Fri, 16 Nov 2012 11:53:10 +0000 (12:53 +0100)
commit2935e0e05a3e348f046f1b485e933b85d1479aaa
treee450f43fa836cbd9f741946d6b8501777f6f0fde
parent9b7a0c40de6c5c04371f8cdb9153a0a5a0af5243
i2c: s3c2410: Refactor ifdefs for PM_SLEEP

Use the PM_SLEEP ifdef for system suspend and resume. This is partly
in preparation for adding runtime operations and partly because a user
may in theory choose to enable runtime suspend but not system suspend.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Reviewed-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-s3c2410.c