media: i2c: Rename ad5398 to ad5398_vcm
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 17 Mar 2022 15:13:10 +0000 (15:13 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:19 +0000 (11:33 +0000)
There's already a regulator module called ad5398 that exposes
this device through the regulator API. That is meaningless in
the terms that it uses and how it maps to V4L2, so a new driver
was added. However the module name collision wasn't noted, so
rename it now.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/i2c/Makefile
drivers/media/i2c/ad5398_vcm.c [moved from drivers/media/i2c/ad5398.c with 100% similarity]

index a87256c..141237a 100644 (file)
@@ -3,7 +3,7 @@
 msp3400-objs   :=      msp3400-driver.o msp3400-kthreads.o
 
 obj-$(CONFIG_SDR_MAX2175) += max2175.o
-obj-$(CONFIG_VIDEO_AD5398)  += ad5398.o
+obj-$(CONFIG_VIDEO_AD5398) += ad5398_vcm.o
 obj-$(CONFIG_VIDEO_AD5820) += ad5820.o
 obj-$(CONFIG_VIDEO_ADP1653) += adp1653.o
 obj-$(CONFIG_VIDEO_ADV7170) += adv7170.o