Input: gpio_keys - constify platform data
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 19 Mar 2012 06:36:29 +0000 (23:36 -0700)
committerSimone Willett <swillett@nvidia.com>
Tue, 27 Mar 2012 00:50:45 +0000 (17:50 -0700)
commit3b06fba5f05ec60a47bc7387e2419c486779450a
tree0c69ac23964e9607efa4bd658d1ff86a4c4bfc9c
parentdb3abc205f15428ef40aa716709eb70ab6cb14d7
Input: gpio_keys - constify platform data

The platform data should not be altered and therefore should be
accessed through const pointers.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Cherry-picked from
d9080921aa32c70a95476ce387e973787b892591

Change-Id: I5791f831909d4417a5c2732e310630c97c42f4a9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/92318
Reviewed-by: Automatic_Commit_Validation_User
drivers/input/keyboard/gpio_keys.c