HID: i2c-hid: print the correct data in dbg msg
authorJean-Baptiste Maneyrol <[email protected]>
Sun, 16 Nov 2014 14:45:43 +0000 (22:45 +0800)
committerJiri Kosina <[email protected]>
Tue, 18 Nov 2014 21:09:52 +0000 (22:09 +0100)
commit08bb7beae7fe102939fe5931222fc09e10d27cda
tree89bd9bf2a78804e454878243e5446ce151192c24
parent6b07974af9698225766d42175470b1a5d7bf9f48
HID: i2c-hid: print the correct data in dbg msg

Report is received in "buffer"; fix the following i2c_hid_dbg()
to dump data from the correct pointer.

Signed-off-by: Jean-Baptiste Maneyrol <[email protected]>
[Antonio Borneo: cleanup and rebase to v3.17]
Signed-off-by: Antonio Borneo <[email protected]>
Reviewed-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
drivers/hid/i2c-hid/i2c-hid.c