driver core: move struct subsys_dev_iter to a local file
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jan 2023 17:58:10 +0000 (18:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jan 2023 12:49:09 +0000 (13:49 +0100)
commitb0a8a59a1c44c07807afe50c6bd21a33c9ec98b7
treeecefd29d397c2ffa7803edc5a4aa6be2f02ce802
parentaf6d0743599e594cb2cec3f1a6d2600a57d1d375
driver core: move struct subsys_dev_iter to a local file

struct subsys_dev_iter is not used by any code outside of
drivers/base/bus.c so move it into that file and out of the global bus.h
file.

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