media: em28xx-input: improve error handling code
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 23 Mar 2018 11:33:22 +0000 (07:33 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 23 Mar 2018 11:33:22 +0000 (07:33 -0400)
commit728d9fd9f148f03ec0bfa4891a44210a032d9663
tree24e682c5d82a5167622c1def984c9dadbff8592c
parent2be09d8d8342f775a9a6a9da6b91dded0a879718
media: em28xx-input: improve error handling code

The current I2C error handling logic makes static analyzers
confused:

drivers/media/usb/em28xx/em28xx-input.c:96 em28xx_get_key_terratec() error: uninitialized symbol 'b'.

Change it to match the coding style we're using elsewhere.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/em28xx/em28xx-input.c