Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] radio-bcm2048: use unlocked_ioctl instead of ioctl

This driver does its own locking, so there is no need to use
ioctl instead of unlocked_ioctl.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

authored by

Hans Verkuil and committed by
Mauro Carvalho Chehab
2e1328dd ab91c611

+1 -1
+1 -1
drivers/staging/media/bcm2048/radio-bcm2048.c
··· 2272 2272 */ 2273 2273 static const struct v4l2_file_operations bcm2048_fops = { 2274 2274 .owner = THIS_MODULE, 2275 - .ioctl = video_ioctl2, 2275 + .unlocked_ioctl = video_ioctl2, 2276 2276 /* for RDS read support */ 2277 2277 .open = bcm2048_fops_open, 2278 2278 .release = bcm2048_fops_release,