]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: vivid: place the logic which disables ioctl on a separate function
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 1 Sep 2020 13:07:12 +0000 (15:07 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 7 Sep 2020 13:59:15 +0000 (15:59 +0200)
commitfcaeb01929d7c4bfcaa2b374119d6a9a823d0dfe
tree20591de3c3632d942632527f52f4b2b8611dc2c9
parent31b97d358d92cb7d8e82f08dc9411bc873020c2c
media: vivid: place the logic which disables ioctl on a separate function

Move this code out of the long vivid_create_instance() function.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/test-drivers/vivid/vivid-core.c