summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/adv7175.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/adv7175.c')
-rw-r--r--linux/drivers/media/video/adv7175.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/adv7175.c b/linux/drivers/media/video/adv7175.c
index 86345ba5c..b8618c021 100644
--- a/linux/drivers/media/video/adv7175.c
+++ b/linux/drivers/media/video/adv7175.c
@@ -427,7 +427,7 @@ adv7175_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;