Input: synaptics-rmi4 - cleanup SMbus mapping handling
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 24 Mar 2017 19:45:35 +0000 (12:45 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 3 Apr 2017 23:24:00 +0000 (16:24 -0700)
commit8a7c71ae38844948f1e42b3d85ab59868287e413
tree1cc7ca79443d6394cc89722445d8a5d86d7a8b4c
parent2593cd1189a2a38a17c97abcd847f28f8a4617be
Input: synaptics-rmi4 - cleanup SMbus mapping handling

There is no reason to copy structures field-by-filed when we can copy
elements at once.

Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_smbus.c