diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-15 00:30:28 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-15 00:30:28 -0300 |
commit | 026810eff5e52b99a11e71acd0f56c13b4e41207 (patch) | |
tree | d650a9544fc5b4d788f00b77c5bf8e7e7a690634 /linux/drivers/media/video/bt856.c | |
parent | aad022d99cb9a72d6857c4bef808a52cdcb3e824 (diff) | |
download | mediapointer-dvb-s2-026810eff5e52b99a11e71acd0f56c13b4e41207.tar.gz mediapointer-dvb-s2-026810eff5e52b99a11e71acd0f56c13b4e41207.tar.bz2 |
Backport changeset 5fa1247a2b56f33f88432c24e109deaf91ef8281
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Original patch from Al Viro <viro@ftp.linux.org.uk>
Date: Sat Mar 29 03:07:38 2008 +0000
NULL noise: drivers/media
kernel-sync:
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/bt856.c')
-rw-r--r-- | linux/drivers/media/video/bt856.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/bt856.c b/linux/drivers/media/video/bt856.c index 7abfad9a4..50ca987ad 100644 --- a/linux/drivers/media/video/bt856.c +++ b/linux/drivers/media/video/bt856.c @@ -312,7 +312,7 @@ bt856_detect_client (struct i2c_adapter *adapter, return 0; client = kzalloc(sizeof(struct i2c_client), GFP_KERNEL); - if (client == 0) + if (!client) return -ENOMEM; client->addr = address; client->adapter = adapter; |