OSDN Git Service

driver core: class: remove struct module owner out of struct class
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Mar 2023 18:18:34 +0000 (19:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 14:16:30 +0000 (15:16 +0100)
commit6e30a66433afee90e902ced95d7136e8f7edcc7e
treeb5a00d479c33d2c7c193661cef02b52c1902fe23
parent10a03c36b7dd7759788ebc613091d313b60f93e0
driver core: class: remove struct module owner out of struct class

The module owner field for a struct class was never actually used, so
remove it as it is not doing anything at all.

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