media: atomisp: Fix atomisp_pci_remove()
authorHans de Goede <hdegoede@redhat.com>
Wed, 27 Dec 2023 21:47:45 +0000 (22:47 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 1 Feb 2024 06:03:07 +0000 (07:03 +0100)
commitba68b88da0a2e6d72ac92738dbad0a1934e2283d
treea2e093ed5598c4e45282f90163690d97387c47ca
parent7f7b6b5da0d631bc141cf67b08d8c3826d579335
media: atomisp: Fix atomisp_pci_remove()

Fix atomisp_pci_remove():
-Remove uninformative "Removing atomisp driver" log message
-Add missing devm_free_irq(), atomisp_uninitialize_modules() and
 pci_free_irq_vectors() calls
-Move atomisp_msi_irq_uninit() down so that the remove() order is
 an exact mirror of the probe() order

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_v4l2.c