[media] radio-miropcm20: fix sparse NULL pointer warning
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 29 Jul 2014 23:21:59 +0000 (20:21 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 30 Jul 2014 22:50:09 +0000 (19:50 -0300)
Fixes the following sparse warnings:

drivers/media/radio/radio-miropcm20.c:193:33: warning:
 Using plain integer as NULL pointer

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/radio/radio-miropcm20.c

index ac9915d15f6695c3e57b2b739dc9f96599553650..998919e97dfe27a60c68c1cdb34a5ed95d34ff1c 100644 (file)
@@ -190,7 +190,7 @@ static int pcm20_setfreq(struct pcm20 *dev, unsigned long freq)
        freql = freq & 0xff;
        freqh = freq >> 8;
 
-       rds_cmd(aci, RDS_RESET, 0, 0);
+       rds_cmd(aci, RDS_RESET, NULL, 0);
        return snd_aci_cmd(aci, ACI_WRITE_TUNE, freql, freqh);
 }