]> www.infradead.org Git - users/jedix/linux-maple.git/commit
driver core: make device_release_driver_internal() take a const *
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2024 13:01:07 +0000 (15:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2024 14:43:53 +0000 (16:43 +0200)
commit33ebea9bc0a36f62590d37d0a3c859759181573e
tree01618307dd77ac99844d453765e841d5650d91d7
parent0725e8f9c442650924271a35017e6cce4315f3f1
driver core: make device_release_driver_internal() take a const *

Change device_release_driver_internal() to take a const struct
device_driver * as it is not modifying it at all.

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