aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-09 09:32:58 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-11 06:56:48 -0300
commitdb5657c5ec47d3a787d4be300f97041ada51f806 (patch)
tree4762e0414c669e2578b071d764f2ec99ffc33ca7 /drivers/media/dvb-frontends
parent73b8922fefed64c9bcb70e25b30a069bb9e61f40 (diff)
[media] drx-j: Don't use 0 as NULL
Fixes the following warnings: drivers/media/dvb-frontends/drx39xyj/drxj.c:1679:65: warning: Using plain integer as NULL pointer drivers/media/dvb-frontends/drx39xyj/drxj.c:1679:71: warning: Using plain integer as NULL pointer drivers/media/dvb-frontends/drx39xyj/drxj.c:1681:52: warning: Using plain integer as NULL pointer drivers/media/dvb-frontends/drx39xyj/drxj.c:1681:58: warning: Using plain integer as NULL pointer Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/drx39xyj/drxj.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c b/drivers/media/dvb-frontends/drx39xyj/drxj.c
index 0232b1409ec..af3b69ce8c1 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drxj.c
+++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c
@@ -1676,9 +1676,10 @@ static int drxdap_fasi_read_block(struct i2c_device_addr *dev_addr,
* In single master mode, split the read and write actions.
* No special action is needed for write chunks here.
*/
- rc = drxbsp_i2c_write_read(dev_addr, bufx, buf, 0, 0, 0);
+ rc = drxbsp_i2c_write_read(dev_addr, bufx, buf,
+ NULL, 0, NULL);
if (rc == 0)
- rc = drxbsp_i2c_write_read(0, 0, 0, dev_addr, todo, data);
+ rc = drxbsp_i2c_write_read(NULL, 0, NULL, dev_addr, todo, data);
#else
/* In multi master mode, do everything in one RW action */
rc = drxbsp_i2c_write_read(dev_addr, bufx, buf, dev_addr, todo,