diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-03-29 03:07:38 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-30 14:18:41 -0700 |
commit | 5fa1247a2b56f33f88432c24e109deaf91ef8281 (patch) | |
tree | dfecaeddc223a7649625a401a8f13bc67ae3414c /drivers/media/video/tea6420.c | |
parent | 8481664d373e7e2cea3ea0c2d7a06c9e939b19ee (diff) | |
download | kernel_samsung_smdk4412-5fa1247a2b56f33f88432c24e109deaf91ef8281.zip kernel_samsung_smdk4412-5fa1247a2b56f33f88432c24e109deaf91ef8281.tar.gz kernel_samsung_smdk4412-5fa1247a2b56f33f88432c24e109deaf91ef8281.tar.bz2 |
NULL noise: drivers/media
Acked-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/media/video/tea6420.c')
-rw-r--r-- | drivers/media/video/tea6420.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tea6420.c b/drivers/media/video/tea6420.c index ca05cd6..4ff6c63 100644 --- a/drivers/media/video/tea6420.c +++ b/drivers/media/video/tea6420.c @@ -101,7 +101,7 @@ static int tea6420_detect(struct i2c_adapter *adapter, int address, int kind) /* allocate memory for client structure */ client = kzalloc(sizeof(struct i2c_client), GFP_KERNEL); - if (0 == client) { + if (!client) { return -ENOMEM; } |