]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: i2c: mt9p031: Switch from OF to fwnode API
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 28 Oct 2024 20:44:43 +0000 (22:44 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 7 Nov 2024 08:05:57 +0000 (09:05 +0100)
commit8f2da25e85c18c93adc0a0fd0df3cda97129309b
tree75f2214f34af5ec86a06d6af1dc390bd4150c426
parent8c6699718949ac109bc8d7175eacd3e4b47389c8
media: i2c: mt9p031: Switch from OF to fwnode API

Remove the direct dependency on OF by using the fwnode API. This makes
the driver usable on non-OF systems, such as ACPI-based platforms.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/mt9p031.c