summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-04-01 10:27:14 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-08 17:48:20 +0200
commit6ef0c3337ac9a0a963208beed92d478a317d7888 (patch)
treea6f083178b50a9e4d8e23267ed0c569bb4957332 /init
parent750100a495be63c1db7b97691556d7d9cac7f978 (diff)
downloadlinux-6ef0c3337ac9a0a963208beed92d478a317d7888.tar.gz
linux-6ef0c3337ac9a0a963208beed92d478a317d7888.tar.bz2
linux-6ef0c3337ac9a0a963208beed92d478a317d7888.zip
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions