mbox series

[0/3] media: vgxy61: Remove vendor prefix from driver name

Message ID 20240610150815.228790-1-benjamin.mugnier@foss.st.com (mailing list archive)
Headers show
Series media: vgxy61: Remove vendor prefix from driver name | expand

Message

Benjamin Mugnier June 10, 2024, 3:08 p.m. UTC
This is a follow up of the discussion we had [1] on drivers naming scheme.
Basically the vendor prefix should not be part of the driver's name.

This series renames the driver from 'st-vgxy61' to 'vgxy61' and the device tree
compatible string from 'st,st-vgxy61' to 'st-vgxy61', therefore avoiding the
vendor prefix duplication.
Backward compatibility is preserved.
Makes the vgxy64 driver consistent with the soon to come v3 of the vd56g3
series.

Thanks,
Benjamin

[1] https://lore.kernel.org/lkml/ZlToLtUkVqzrZf4p@valkosipuli.retiisi.eu/

Benjamin Mugnier (3):
  media: vgxy61: Fix driver name
  media: vgxy61: Add legacy compatible string
  media: vgxy61: Add MODULE_ALIAS()

 .../media/i2c/{st,st-vgxy61.yaml => st,vgxy61.yaml}       | 6 +++---
 Documentation/userspace-api/media/drivers/index.rst       | 2 +-
 .../media/drivers/{st-vgxy61.rst => vgxy61.rst}           | 0
 MAINTAINERS                                               | 8 ++++----
 drivers/media/i2c/Kconfig                                 | 2 +-
 drivers/media/i2c/Makefile                                | 2 +-
 drivers/media/i2c/{st-vgxy61.c => vgxy61.c}               | 8 +++++++-
 7 files changed, 17 insertions(+), 11 deletions(-)
 rename Documentation/devicetree/bindings/media/i2c/{st,st-vgxy61.yaml => st,vgxy61.yaml} (95%)
 rename Documentation/userspace-api/media/drivers/{st-vgxy61.rst => vgxy61.rst} (100%)
 rename drivers/media/i2c/{st-vgxy61.c => vgxy61.c} (99%)