]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
media: dvb_frontend: cleanup dvb_frontend_ioctl_properties()
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 18 Sep 2017 10:54:11 +0000 (06:54 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 11 Oct 2017 16:53:09 +0000 (12:53 -0400)
commit2b5df42b8dec69fb926a242007fd462343db4408
treeb869c188543cb10b4429b3a3abb4feaf4c42aa67
parent6680e73b5226114992acfc11f9cf5730f706fb01
media: dvb_frontend: cleanup dvb_frontend_ioctl_properties()

Use a switch() on this function, just like on other ioctl
handlers and handle parameters inside each part of the
switch.

That makes it easier to integrate with the already existing
ioctl handler function.

Reviewed-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-core/dvb_frontend.c