From: Wei Yongjun Date: Tue, 29 Jul 2014 23:21:59 +0000 (-0300) Subject: [media] radio-miropcm20: fix sparse NULL pointer warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=27dcb00d0dc1d532b0da940e35a6d020ee33bd47;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/radio/radio-miropcm20.c b/drivers/media/radio/radio-miropcm20.c index ac9915d15f66..998919e97dfe 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); }