input: touchscreen: mms128: remove CONFIG_TIZEN_WIP ifdefs
authorBeomho Seo <beomho.seo@samsung.com>
Tue, 19 Aug 2014 04:26:55 +0000 (13:26 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:36 +0000 (12:00 +0900)
This patch removes CONFIG_TIZEN_WIP ifdefs.

Change-Id: I48c455d4ef67e60383e1c358be4124f78b4352e5
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
drivers/input/touchscreen/mms128.c

index ae39150..1806ee6 100644 (file)
@@ -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);