media: atomisp: Remove atomisp_subdev_register_video_nodes() helper
authorHans de Goede <hdegoede@redhat.com>
Sun, 7 May 2023 20:19:33 +0000 (21:19 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 9 Jun 2023 13:33:40 +0000 (14:33 +0100)
commit28714506c3b775702dd6738a0a44b9ff0d7bf0ac
treeaf614085c5bc9ee488095ba67fda42343814ff4a
parent8fd3c9a468c044e25b2ddaaa53d10414906b83af
media: atomisp: Remove atomisp_subdev_register_video_nodes() helper

Now that there is only 1 /dev/video# node left there is no need to
do this in a helper. Just make atomisp_register_device_nodes()
call video_register_device() directly.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_subdev.c
drivers/staging/media/atomisp/pci/atomisp_subdev.h
drivers/staging/media/atomisp/pci/atomisp_v4l2.c