]> git.baikalelectronics.ru Git - kernel.git/commit
auxdisplay: lcd2s: Use array size explicitly in lcd2s_gotoxy()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 8 Mar 2022 15:11:19 +0000 (17:11 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Fri, 18 Mar 2022 19:31:14 +0000 (20:31 +0100)
commit12c5c1c7dc6c932c11df7589af6c3448393d253e
treeb3f68942c12a0df315587c6dddb3fb10a10f52e2
parent439095f0c0e906a91ffba7eac468f8daf09d8416
auxdisplay: lcd2s: Use array size explicitly in lcd2s_gotoxy()

Currently the reading of the onstack array is confusing since two
out of three members are of different types. Let it be more clear
by explicitly set the array size, so everybody will understand that
parameters are cast to the type of the array.

While at it, add a missed space.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
drivers/auxdisplay/lcd2s.c