summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorJonas Aaberg <jonas.aberg@stericsson.com>2010-11-15 11:19:20 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 10:59:58 +0200
commitcb8acc7d5b863e8f30bae557d189d4c4cc32ee66 (patch)
tree6305b9851ee002a0f19a70930a16f3f382a2c271 /drivers/mfd
parent7a6fd327eba6b3875d9738b67e958b0c59cada1d (diff)
MFD: Correct a few #if to #ifdef
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/tc35892.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/tc35892.c b/drivers/mfd/tc35892.c
index 9fd67e1e9a7..a149e7f62ea 100644
--- a/drivers/mfd/tc35892.c
+++ b/drivers/mfd/tc35892.c
@@ -317,7 +317,7 @@ static int __devexit tc35892_remove(struct i2c_client *client)
return 0;
}
-#if CONFIG_PM
+#ifdef CONFIG_PM
static int tc35892_suspend(struct device *dev)
{
struct tc35892 *tc35892 = dev_get_drvdata(dev);
@@ -362,7 +362,7 @@ MODULE_DEVICE_TABLE(i2c, tc35892_id);
static struct i2c_driver tc35892_driver = {
.driver.name = "tc35892",
.driver.owner = THIS_MODULE,
-#if CONFIG_PM
+#ifdef CONFIG_PM
.driver.pm = &tc35892_dev_pm_ops,
#endif
.probe = tc35892_probe,