Input: iforce - use unaligned accessors, where appropriate
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 10 Aug 2018 20:54:02 +0000 (13:54 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 23 Jun 2019 06:55:49 +0000 (23:55 -0700)
commit21ae38f8558511450a33fb3873bfcd6b8f1e0922
tree3dc8e02fccde3ae8ce3a5088abec7d3bb15f4f00
parent8624dfd10a3bb3ea3d8a959e17f8951f1b03d68d
Input: iforce - use unaligned accessors, where appropriate

Instead of open-coding conversion from/to little-endian, let's
use proper accessors.

Tested-by: Tim Schumacher <timschumi@gmx.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/iforce/iforce-main.c
drivers/input/joystick/iforce/iforce-packets.c