]> git.baikalelectronics.ru Git - kernel.git/commit
Input: synaptics-rmi4 - remove unneeded variable
authorAndrew Duggan <aduggan@synaptics.com>
Thu, 14 Jul 2016 16:38:04 +0000 (09:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 14 Jul 2016 16:43:43 +0000 (09:43 -0700)
commit4f88b5101140fca087b70079c4ca249bfaebe427
tree4a9ebac31dcb22f7ea50b545e0bea1b174f506c4
parentdb37bf6ec68c9346770e6a6b65d9a665a11a8f2f
Input: synaptics-rmi4 - remove unneeded variable

Remove the data_base_addr_offset variable in rmi_f11_attention(). The
f11 data is read as a single block so there is no need to store an offset
to the data address.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Nick Dyer <nick@shmanahar.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_f11.c