Re: [PATCH] auxdisplay: ht16k33: use le16_to_cpup() to fetch LE16 data

2017-04-01 Thread Dmitry Torokhov
On Wed, Mar 29, 2017 at 10:13:59AM +0200, Robin van der Gracht wrote: > On Wed, 29 Mar 2017 00:42:08 -0700 > Dmitry Torokhov wrote: > > > 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

Re: [PATCH] auxdisplay: ht16k33: use le16_to_cpup() to fetch LE16 data

2017-04-01 Thread Dmitry Torokhov
On Wed, Mar 29, 2017 at 10:13:59AM +0200, Robin van der Gracht wrote: > On Wed, 29 Mar 2017 00:42:08 -0700 > Dmitry Torokhov wrote: > > > 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 > >

Re: [PATCH] auxdisplay: ht16k33: use le16_to_cpup() to fetch LE16 data

2017-03-29 Thread Robin van der Gracht
On Wed, 29 Mar 2017 00:42:08 -0700 Dmitry Torokhov wrote: > 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

Re: [PATCH] auxdisplay: ht16k33: use le16_to_cpup() to fetch LE16 data

2017-03-29 Thread Robin van der Gracht
On Wed, 29 Mar 2017 00:42:08 -0700 Dmitry Torokhov wrote: > 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

[PATCH] auxdisplay: ht16k33: use le16_to_cpup() to fetch LE16 data

2017-03-29 Thread Dmitry Torokhov
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

[PATCH] auxdisplay: ht16k33: use le16_to_cpup() to fetch LE16 data

2017-03-29 Thread Dmitry Torokhov
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 ---