Input: elants_i2c - zero-extend hardware ID in firmware name
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 18 Apr 2015 03:42:47 +0000 (20:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 20 Apr 2015 17:28:21 +0000 (10:28 -0700)
commit8c0776a8f046d5fb1804e525c3b6e9f897fe0d3f
tree72711fda6021bc405f64754b99ff2a6cfaa1bcd8
parent2310568f570e0f95bfb1cc79ff7db617e782e25c
Input: elants_i2c - zero-extend hardware ID in firmware name

Let's zero-extend hardware id number when forming firmware file name,
to avoid kernel requesting firmware like "elants_i2c_   0.bin", which
is quite unexpected.

Acked-by: Charlie Mooney<charliemooney@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/elants_i2c.c