linux/drivers/peci
Ricardo B. Marliere e6faf2b750 peci: 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
peci_controller_type and peci_device_type variables to be constant
structures as well, placing it into read-only memory which can not be
modified at runtime.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: "Ricardo B. Marliere" <ricardo@marliere.net>
Reviewed-by: Iwona Winiarska <iwona.winiarska@intel.com>
Link: https://lore.kernel.org/r/20240219-device_cleanup-peci-v1-1-0727662616f7@marliere.net
Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
2024-04-16 00:14:43 +02:00
..
controller Update peci-next for v6.6-rc1 2023-08-08 10:53:30 +02:00
core.c peci: constify the struct device_type usage 2024-04-16 00:14:43 +02:00
cpu.c peci: cpu: Add Intel Sapphire Rapids support 2023-08-07 18:27:55 +02:00
device.c peci: constify the struct device_type usage 2024-04-16 00:14:43 +02:00
internal.h peci: constify the struct device_type usage 2024-04-16 00:14:43 +02:00
Kconfig peci: Add peci-cpu driver 2022-02-09 08:04:44 +01:00
Makefile peci: Add peci-cpu driver 2022-02-09 08:04:44 +01:00
request.c peci: Add peci-cpu driver 2022-02-09 08:04:44 +01:00
sysfs.c driver core: bus: mark the struct bus_type for sysfs callbacks as constant 2023-03-23 13:20:40 +01:00