git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NULL noise: drivers/media
[pandora-kernel.git]
/
drivers
/
media
/
video
/
tda9840.c
diff --git
a/drivers/media/video/tda9840.c
b/drivers/media/video/tda9840.c
index
ef494fe
..
bdca5d2
100644
(file)
--- a/
drivers/media/video/tda9840.c
+++ b/
drivers/media/video/tda9840.c
@@
-172,7
+172,7
@@
static int detect(struct i2c_adapter *adapter, int address, int kind)
/* allocate memory for client structure */
client = kmalloc(sizeof(struct i2c_client), GFP_KERNEL);
- if (
0 ==
client) {
+ if (
!
client) {
printk("not enough kernel memory\n");
return -ENOMEM;
}