auxdisplay: ht16k33: Define a few helper macros
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Feb 2024 16:58:04 +0000 (18:58 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 26 Feb 2024 16:07:05 +0000 (18:07 +0200)
commit0ee6eb851ec549367d28e5eab31387ea289ffd20
treec34005376a4c40a9c6acb2894ff33945c375d7d2
parent5a805a7827b64125ddfbd7d34d7a374db30d4caa
auxdisplay: ht16k33: Define a few helper macros

Define a few helper macros — wrappers on container_of() — for easier
maintenance in the future. While at it, include missing container_of.h.

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/auxdisplay/ht16k33.c