auxdisplay: ht16k33: use le16_to_cpup() to fetch LE16 data
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 1 Apr 2017 17:27:14 +0000 (10:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 15:48:20 +0000 (17:48 +0200)
commit6ef0c3337ac9a0a963208beed92d478a317d7888
treea6f083178b50a9e4d8e23267ed0c569bb4957332
parent750100a495be63c1db7b97691556d7d9cac7f978
auxdisplay: ht16k33: use le16_to_cpup() to fetch LE16 data

The data read from the device is 3 little-endian words, so let's
annotate them as such and use le16_to_cpu() to convert them to host
endianness - it might turn out to be a bit more performant, and it
expresses the conversion more clearly.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/auxdisplay/ht16k33.c