V4L/DVB (10058): dsbr100: fix codingstyle, add dev_err messages
commit417b7953668574ff38d3f2dc76e9fe669f121469
authorAlexey Klimov <klimov.linux@gmail.com>
Sun, 28 Dec 2008 01:30:29 +0000 (27 22:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:40:11 +0000 (30 09:40 -0200)
tree611f484e14984857ae4568c118fdd6cbe9534531
parent290588e067b6710b614da4bd538197dd88158b62
V4L/DVB (10058): dsbr100: fix codingstyle, add dev_err messages

We should make if-constructions more clear. Introduce int retval
variables in some functions to make it this way. Also a lot of useful
dev_err messages added. And now we check every returned value after
usb_control_msg.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/dsbr100.c