Input: pixcir_i2c_ts - simplify code with of_device_get_match_data
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Fri, 19 Aug 2016 17:16:51 +0000 (10:16 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 Aug 2016 21:16:29 +0000 (14:16 -0700)
commit8ffef3cc696e9eff67ec79be349407895bffdfc1
tree745d823d9cfda47b91e2112bdbd118f46e340ff3
parentd18716542d137beafef2859bdf90d4e0c9a25523
Input: pixcir_i2c_ts - simplify code with of_device_get_match_data

The usage of of_device_get_match_data reduce the code size a bit.
Furthermore, it is better to use a standard function for
getting the match data.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/pixcir_i2c_ts.c