input: touchscreen: mms128: remove global variable "enable" 36/26336/1
authorBeomho Seo <beomho.seo@samsung.com>
Thu, 21 Aug 2014 01:34:11 +0000 (10:34 +0900)
committerBeomho Seo <beomho.seo@samsung.com>
Thu, 21 Aug 2014 01:34:11 +0000 (10:34 +0900)
commit5e98630b2c655ba7b8f4cbd0fb21722d6d4b56fc
tree37b67692b60ff97401f6e65d1adf666fcfbb7508
parente5eaa38f84de65720467835bf4fce5269598dcde
input: touchscreen: mms128: remove global variable "enable"

If disable CONFIG_TIZEN_WIP, This driver not work after supend/resume.
Because this driver use variable "enable" and "info->enable" sepearately.
So this patch remove variable "enable" and then, use "info->enable".
Also this patch revise that state is changed at mms_ts_power() only.

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