driver core: bus: constify bus_unregister()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Feb 2023 11:13:30 +0000 (12:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 09:43:45 +0000 (10:43 +0100)
commitad8685d0f61a6fc1dc2e5874f4924ff5028c5954
tree2362a8c0e9b8fe3e5be529c650645c61aa6bb34b
parent4dd1f3f8f99ec51dbcfeffe95b8ab68161a332a4
driver core: bus: constify bus_unregister()

The bus_unregister() function can now take a const * to bus_type, not
just a * so fix that up.

Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230208111330.439504-22-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/bus.c
include/linux/device/bus.h