linux-stable/drivers/usb/phy
Ricardo B. Marliere df097bf988 usb: phy: constify the struct device_type usage
Since commit aed65af1cc ("drivers: make device_type const"), the driver
core can properly handle constant struct device_type. Move the
usb_phy_dev_type variable to be a constant structure as well, placing it
into read-only memory which can not be modified at runtime.

Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Link: https://lore.kernel.org/r/20240218-device_cleanup-usb-v1-2-77423c4da262@marliere.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-19 09:35:46 +01:00
..
Kconfig usb: phy: remove phy-isp1301-omap driver 2023-01-12 10:53:11 +01:00
Makefile usb: phy: remove phy-isp1301-omap driver 2023-01-12 10:53:11 +01:00
of.c
phy-ab8500-usb.c usb: phy: ab8500: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-am335x-control.c usb: phy: am335x: convert to devm_platform_ioremap_resource_byname 2020-07-29 16:49:37 +02:00
phy-am335x-control.h
phy-am335x.c usb: phy: am335x: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-fsl-usb.c usb: phy: fsl: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-fsl-usb.h USB: phy: fsl-usb: remove character device usage 2020-07-03 10:18:41 +02:00
phy-generic.c usb: phy: generic: Disable vbus on removal 2024-01-27 17:37:22 -08:00
phy-generic.h
phy-gpio-vbus-usb.c usb: phy: gpio-vbus: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-isp1301.c usb: Switch i2c drivers back to use .probe() 2023-05-29 15:53:11 +01:00
phy-keystone.c usb: phy: keystone: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-mv-usb.c usb: phy: mv: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-mv-usb.h
phy-mxs-usb.c usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host() 2024-01-04 16:01:56 +01:00
phy-omap-otg.c extcon: Fix extcon_get_extcon_dev() error handling 2022-05-13 17:03:40 +09:00
phy-tahvo.c usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe() 2023-05-29 15:49:16 +01:00
phy-tegra-usb.c usb: Explicitly include correct DT includes 2023-07-25 18:20:02 +02:00
phy-twl6030-usb.c usb: phy: twl6030: Remove snprintf() from sysfs call-backs and replace with sysfs_emit() 2023-12-15 13:55:30 +01:00
phy-ulpi-viewport.c usb: phy-ulpi-viewport: convert to readl_poll_timeout_atomic() 2020-09-25 16:30:05 +02:00
phy-ulpi.c
phy.c usb: phy: constify the struct device_type usage 2024-02-19 09:35:46 +01:00