input: touchscreen: mms128: remove global variable "enable"
authorBeomho Seo <beomho.seo@samsung.com>
Thu, 21 Aug 2014 01:34:11 +0000 (10:34 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:40 +0000 (12:00 +0900)
commit5dcd04828e2e78b1f98abbb7ce8eca43500934ba
tree64942de75efbb269925c54e943f20f9912a154f1
parent3bc6630044e8c81d28d009c2fbbcd0c26a406c2f
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