driver core: bus: move documentation for lock_key to proper location.
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Mar 2023 09:08:14 +0000 (10:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:38:08 +0000 (09:38 +0100)
commit009455205e68ef017a429dc818b92c4a84b867c4
tree98835aec8be5906e18e54be8c4d155e1fb8c2b20
parent9f33a88c0a820681a4cbabfc912ac5569a9de330
driver core: bus: move documentation for lock_key to proper location.

In commit 37e98d9bedb5 ("driver core: bus: move lock_class_key into
dynamic structure"), the lock_key variable moved out of struct bus_type
and into struct subsys_private, yet the documentation for it did not
move.  Fix that up and place the documentation comment in the correct
location.

Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Fixes: 37e98d9bedb5 ("driver core: bus: move lock_class_key into dynamic structure")
Link: https://lore.kernel.org/r/20230324090814.386654-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/base.h
include/linux/device/bus.h