Centos-kernel-stream-9/drivers/spmi
Mark Langsdorf 0753f4dc47 driver core: make struct bus_type.uevent() take a const *
JIRA: https://issues.redhat.com/browse/RHEL-1023
Conflicts:
	drivers/gpu/drm/drm_mipi_dsi.c - minor context
differences
	drivers/platform/x86/wmi.c - had to insert a const
in device_to_wblock()
	include/linux/hyperv.h - had to insert a const
in device_to_hv_device()
Omitted-fix: a69ea7a76d52353b17d7bedf43818c2578517e9e
	centos-9 doesn't support SuperH devices, so this
fix for the maple sub-componet of a SuperH isn't
necessary

commit 2a81ada32f0e584fc0c943e0d3a8c9f4fae411d6
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Fri, 27 Jan 2023 13:45:52 +0000

The uevent() callback in struct bus_type should not be modifying the
device that is passed into it, so mark it as a const * and propagate the
function signature changes out into all relevant subsystems that use
this callback.

Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230111113018.459199-16-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
2023-10-23 10:35:56 -05:00
..
Kconfig spmi: mediatek: Add support for MT6873/8192 2022-05-27 05:33:32 -04:00
Makefile spmi: mediatek: Add support for MT6873/8192 2022-05-27 05:33:32 -04:00
hisi-spmi-controller.c spmi: hisi-spmi-controller: move driver from staging 2021-06-25 10:02:05 +02:00
spmi-mtk-pmif.c spmi: mediatek: Add support for MT8195 2022-05-27 05:33:37 -04:00
spmi-pmic-arb.c spmi: spmi-pmic-arb: fix irq_set_type race condition 2022-05-27 05:33:43 -04:00
spmi.c driver core: make struct bus_type.uevent() take a const * 2023-10-23 10:35:56 -05:00