]> www.infradead.org Git - users/jedix/linux-maple.git/commit
driver core: platform: fix ups for constant struct device_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2024 13:01:05 +0000 (15:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2024 14:43:46 +0000 (16:43 +0200)
commit841b7ebf819491b4a7e701ee4d42a55810606c96
tree1f1f65d04d346bdeadccb26542afc4174f6da797
parentff985c759778986f55cbc557055fbeb84ee833eb
driver core: platform: fix ups for constant struct device_driver

Fix up a few places in the platform core code that can easily handle
struct device_driver being constant.  This is part of the work to make
all struct device_driver pointers be constant.

Cc: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20240611130103.3262749-8-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/platform.c