summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/bt8xx
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2004-07-31 00:05:45 +0000
committerJohannes Stezenbach <devnull@localhost>2004-07-31 00:05:45 +0000
commitd3c7341869a8188aff16975a785c4c5d05c3fcb8 (patch)
treed0fa6a77187580a4ff427ed50608a2490f245cda /linux/drivers/media/dvb/bt8xx
parent12994bfc905a0bb9f5ba354f7d11278d39dbc26b (diff)
downloadmediapointer-dvb-s2-d3c7341869a8188aff16975a785c4c5d05c3fcb8.tar.gz
mediapointer-dvb-s2-d3c7341869a8188aff16975a785c4c5d05c3fcb8.tar.bz2
merge back various cleanups from mainline kernel:
- sparse annotiations (viro) - NULL noise removal (viro) - #if where #ifdef should've been (saa7146) (viro) - convert private ABS() to kernel's abs() (rddunlap) - dvb_register_i2c_device() locking fix for -ENOMEM (akpm) - dvb_register_i2c_bus() locking fix for -ENOMEM (akpm)
Diffstat (limited to 'linux/drivers/media/dvb/bt8xx')
-rw-r--r--linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
index 74a767a37..b61988a7a 100644
--- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
+++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
@@ -208,7 +208,7 @@ static struct dvb_bt8xx_card *dvb_bt8xx_find_by_pci(struct i2c_adapter *adap)
if (NULL == dev) {
/* shoudn't happen with 2.6.0-test7 + newer */
printk("attach: Huh? i2c adapter not in sysfs tree?\n");
- return 0;
+ return NULL;
}
pci = to_pci_dev(dev);
list_for_each(item, &card_list) {