auxdisplay: ht16k33: Remove unneeded error check in keypad probe()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 19 Oct 2021 14:45:11 +0000 (16:45 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 21 Oct 2021 21:36:29 +0000 (23:36 +0200)
commit11b92913d1cafeca5bc7c398bf6075dd00e0b8a7
tree001f9d0bb3e8d1f152438e39b995fc85da4bc834
parentfb61e137c004c160f772461ec39953d54f5c9aaf
auxdisplay: ht16k33: Remove unneeded error check in keypad probe()

There is no need to check the return code of input_register_device(),
just propagate it to the caller.

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