]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (10058): dsbr100: fix codingstyle, add dev_err messages
authorAlexey Klimov <klimov.linux@gmail.com>
Sun, 28 Dec 2008 01:30:29 +0000 (22:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:40:11 +0000 (09:40 -0200)
commita509a1192e5ed824b059b56ee4292f2fa0d7ffdb
tree611f484e14984857ae4568c118fdd6cbe9534531
parent5fba0b05c7aa8a53e3ca4b404a7da7692fcec3c9
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