media: solo6x10: Use devm functions
authorRicardo Ribalda <ribalda@chromium.org>
Thu, 11 Apr 2024 21:17:51 +0000 (21:17 +0000)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 15 Apr 2024 11:42:38 +0000 (13:42 +0200)
commitcfe22d41ee6af2281689b3d2586620dadffd8431
treebfc209559f4ddfcbc1429e484299276fcec38fb6
parent6ae0455ab4b20a508a2e77d271834528574f341b
media: solo6x10: Use devm functions

Let devm handle the life cycle of the irq request.

Makes smatch happier:

drivers/media/pci/solo6x10/solo6x10-core.c:631 solo_pci_probe() warn: 'pdev' from pci_request_regions() not released on lines: 631.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/pci/solo6x10/solo6x10-core.c