V4L/DVB (4877): budget-ci IR: improve error checking in init and deinit functions
authorDavid Hardeman <david@hardeman.nu>
Sat, 2 Dec 2006 23:16:05 +0000 (21:16 -0200)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 10 Dec 2006 11:05:14 +0000 (09:05 -0200)
commit8cc532ef5bf1230ed6345aebe5bd11ea8567ba52
treeb0d128aec876d2c908bc0fbf0c214d9daf4f29cb
parent5cc8ae000233e8dad667edcdbb921668c317b627
V4L/DVB (4877): budget-ci IR: improve error checking in init and deinit functions

Improve the error checking in the IR init and deinit functions.
Based on Darren Salt's dvb-ir patchset.

Signed-off-by: David Hardeman <david@hardeman.nu>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/ttpci/budget-ci.c