Input: convert obsolete strict_strtox to kstrtox
authorJJ Ding <dgdunix@gmail.com>
Wed, 9 Nov 2011 18:20:14 +0000 (10:20 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 10 Nov 2011 05:23:26 +0000 (21:23 -0800)
commit76496e7a02e99d42844f4fffa145b81e513e7acd
tree33812cc8a9b250a95cf90c237c46ec6fc6fcf2ff
parent7cf801cfc0774b777aa6861cf4a43a90b112b1ed
Input: convert obsolete strict_strtox to kstrtox

With commit 67d0a0754455f89ef3946946159d8ec9e45ce33a we mark strict_strtox
as obsolete. Convert all remaining such uses in drivers/input/.

Also change long to appropriate types, and return error conditions
from kstrtox separately, as Dmitry sugguests.

Signed-off-by: JJ Ding <dgdunix@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
15 files changed:
drivers/input/input-polldev.c
drivers/input/keyboard/atkbd.c
drivers/input/keyboard/lm8323.c
drivers/input/misc/adxl34x.c
drivers/input/misc/ati_remote2.c
drivers/input/mouse/elantech.c
drivers/input/mouse/hgpk.c
drivers/input/mouse/logips2pp.c
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/sentelic.c
drivers/input/mouse/trackpoint.c
drivers/input/tablet/aiptek.c
drivers/input/touchscreen/ad7877.c
drivers/input/touchscreen/ad7879.c
drivers/input/touchscreen/ads7846.c