linux-next/drivers/spmi
Ricardo B. Marliere b928d35757 spmi: make spmi_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the spmi_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: "Ricardo B. Marliere" <ricardo@marliere.net>
Link: https://lore.kernel.org/r/20240204-bus_cleanup-spmi-v1-1-ef7f278f1987@marliere.net
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20240507210809.3479953-2-sboyd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-05-08 19:46:10 +01:00
..
hisi-spmi-controller.c spmi: hisi-spmi-controller: Use devm_spmi_controller_add() 2023-12-15 17:27:04 +01:00
Kconfig spmi: mediatek: Add support for MT6873/8192 2021-12-17 17:18:18 +01:00
Makefile spmi: Introduce device-managed functions 2023-12-15 17:27:04 +01:00
spmi-devres.c spmi: Return meaningful errors in spmi_controller_alloc() 2023-12-15 17:27:04 +01:00
spmi-mtk-pmif.c spmi: mediatek: add device id check 2023-12-15 17:27:04 +01:00
spmi-pmic-arb.c spmi: Use devm_spmi_controller_alloc() 2023-12-15 17:27:04 +01:00
spmi.c spmi: make spmi_bus_type const 2024-05-08 19:46:10 +01:00