commit | 6ef0c3337ac9a0a963208beed92d478a317d7888 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sat Apr 01 10:27:14 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 08 17:48:20 2017 +0200 |
tree | a6f083178b50a9e4d8e23267ed0c569bb4957332 | |
parent | 750100a495be63c1db7b97691556d7d9cac7f978 [diff] |
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>