linux-stable/include/linux/device
Greg Kroah-Hartman 979207cac5 driver core: class: mark class_release() as taking a const *
The struct class callback, class_release(), is only called in 2 places,
the pcmcia cardservices code, and in the class driver core code.  Both
places it is safe to mark the structure as a const *, to allow us to
in the future mark all struct class usages as constant and move into
read-only memory.

Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/2023040248-outrage-obsolete-5a9a@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-03 21:42:43 +02:00
..
bus.h driver core: bus: move documentation for lock_key to proper location. 2023-03-25 09:38:08 +01:00
class.h driver core: class: mark class_release() as taking a const * 2023-04-03 21:42:43 +02:00
driver.h driver core: driver.h: remove extern from function prototypes 2023-03-24 15:35:42 +01:00