auxdisplay: ht16k33: Use HT16K33_FB_SIZE in ht16k33_initialize()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 19 Oct 2021 14:45:10 +0000 (16:45 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 21 Oct 2021 21:36:29 +0000 (23:36 +0200)
commitfb61e137c004c160f772461ec39953d54f5c9aaf
tree498f1a8c3660721a1834bd2235904abde5bbc774
parent840fe258332544aa7321921e1723d37b772af7a9
auxdisplay: ht16k33: Use HT16K33_FB_SIZE in ht16k33_initialize()

Use the existing HT16K33_FB_SIZE definition instead of open-coding the
same calculation using an hardcoded value.
While at it, restore reverse Christmas tree variable declaration order.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
drivers/auxdisplay/ht16k33.c