Input: wacom_i2c - fix compiler warning
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 7 Jul 2012 23:40:16 +0000 (16:40 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 7 Jul 2012 23:41:12 +0000 (16:41 -0700)
commit8830cb88dd6d60c3bb4cb46d8a855628e4875b18
treeabcd9af9bb17161edaa35707c878a547a82d3828
parentf053ea8d841a3a4620fff4a1b2ab1da9d7c53939
Input: wacom_i2c - fix compiler warning

Apparently GCC can't figure out that we bail if we fail to query device
and will not try to use 'features':

drivers/input/touchscreen/wacom_i2c.c: In function ‘wacom_i2c_probe’:
drivers/input/touchscreen/wacom_i2c.c:177:20: warning: ‘features.fw_version’
may be used uninitialized in this function [-Wmaybe-uninitialized]

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/wacom_i2c.c