auxdisplay: ht16k33: Add default to switch-cases
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Feb 2024 16:58:02 +0000 (18:58 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 26 Feb 2024 16:02:19 +0000 (18:02 +0200)
commitef2086a9e1c9e82ae35e5b0d0d522fc344e3357a
tree3397f0a35cbe544dad487c9c97fd1aa289182bf2
parent4ce026d5f4ccb89a493b7c57d87d53a3ccb0be59
auxdisplay: ht16k33: Add default to switch-cases

Currently the compiler (GCC) is able to figure out that there is no
other choices possible than those that are already listed in the
switch-cases. However, if we want to move some code to the callback,
compiler will start complaining that no default is defined. Make
sure we have all switch-cases equiped with default.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
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