Commit ef2086a
committed
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>1 parent 4ce026d commit ef2086a
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | 680 | | |
686 | 681 | | |
687 | 682 | | |
| |||
695 | 690 | | |
696 | 691 | | |
697 | 692 | | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
698 | 696 | | |
699 | 697 | | |
700 | 698 | | |
| |||
772 | 770 | | |
773 | 771 | | |
774 | 772 | | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
775 | 776 | | |
776 | 777 | | |
777 | 778 | | |
| |||
796 | 797 | | |
797 | 798 | | |
798 | 799 | | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
799 | 803 | | |
800 | 804 | | |
801 | 805 | | |
| |||
0 commit comments