summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-07-29 20:21:59 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-30 19:50:09 -0300
commit27dcb00d0dc1d532b0da940e35a6d020ee33bd47 (patch)
tree6125d1b2d1262054889d1eaa04b65c4168319cf5 /drivers/media
parent7eea35fe3df80e1a008203e59487185d5d04a5a8 (diff)
[media] radio-miropcm20: fix sparse NULL pointer warning
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/radio/radio-miropcm20.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-miropcm20.c b/drivers/media/radio/radio-miropcm20.c
index ac9915d15f6..998919e97df 100644
--- a/drivers/media/radio/radio-miropcm20.c
+++ b/drivers/media/radio/radio-miropcm20.c
@@ -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);
}