• Dmitry Torokhov's avatar
    Input: wacom_i2c - fix compiler warning · 8830cb88
    Dmitry Torokhov authored
    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: default avatarDmitry Torokhov <dtor@mail.ru>
    8830cb88
wacom_i2c.c 6.54 KB