summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorBeomho Seo <beomho.seo@samsung.com>2014-08-19 13:26:55 +0900
committerBeomho Seo <beomho.seo@samsung.com>2014-08-19 13:42:17 +0900
commit5345c538c12ebe046c053f8a2cf6887d5f7827aa (patch)
treedbb47406b0ee49f8cb903f869107dc3516fddcc5 /drivers/input
parent3ce59c107fde07dcdd6f2b5395255a4aa1fca7c4 (diff)
downloadlinux-3.10-5345c538c12ebe046c053f8a2cf6887d5f7827aa.tar.gz
linux-3.10-5345c538c12ebe046c053f8a2cf6887d5f7827aa.tar.bz2
linux-3.10-5345c538c12ebe046c053f8a2cf6887d5f7827aa.zip
input: touchscreen: mms128: remove CONFIG_TIZEN_WIP ifdefs
This patch removes CONFIG_TIZEN_WIP ifdefs. Change-Id: I48c455d4ef67e60383e1c358be4124f78b4352e5 Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/mms128.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/input/touchscreen/mms128.c b/drivers/input/touchscreen/mms128.c
index ae39150bad2..1806ee6faf6 100644
--- a/drivers/input/touchscreen/mms128.c
+++ b/drivers/input/touchscreen/mms128.c
@@ -1295,7 +1295,6 @@ static int mms_ts_fw_load(struct mms_ts_info *info)
return ret;
}
-#ifdef CONFIG_TIZEN_WIP
static int mms_ts_suspend(struct device *dev);
static int mms_ts_resume(struct device *dev);
@@ -1342,7 +1341,6 @@ static struct attribute *mms_ts_attributes[] = {
static struct attribute_group mms_ts_attr_group = {
.attrs = mms_ts_attributes,
};
-#endif
#ifdef CONFIG_OF
static struct melfas_tsi_platform_data *mms_ts_parse_dt(struct device *dev)
@@ -1697,13 +1695,11 @@ static int mms_ts_probe(struct i2c_client *client,
goto err_reg_input_dev;
}
-#ifdef CONFIG_TIZEN_WIP
ret = sysfs_create_group(&input_dev->dev.kobj, &mms_ts_attr_group);
if (ret) {
dev_err(&client->dev, "Failed to create sysfs group\n");
goto err_regulator;
}
-#endif
disable_irq(info->irq);
info->enabled = false;
mms_ts_power(info, false);