]> git.baikalelectronics.ru Git - kernel.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)
commitaddb532eff356a313ea54ecc5cc97a9b4e748f05
treeb869c188543cb10b4429b3a3abb4feaf4c42aa67
parent945a256bdef76f3fdb7ac12c72d85dce8edc4b68
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