kobject: remove kset from struct kset_uevent_ops callbacks
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Dec 2021 16:39:24 +0000 (17:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Dec 2021 10:26:18 +0000 (11:26 +0100)
commitcf6299b6101903c31bddb0065804b2121ed510c7
tree2e1b8f5d1e6dead57c7153a647084e8b60e72c8d
parentee6d3dd4ed48ab24b74bab3c3977b8218518247d
kobject: remove kset from struct kset_uevent_ops callbacks

There is no need to pass the pointer to the kset in the struct
kset_uevent_ops callbacks as no one uses it, so just remove that pointer
entirely.

Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Wedson Almeida Filho <wedsonaf@google.com>
Link: https://lore.kernel.org/r/20211227163924.3970661-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/core-api/kobject.rst
Documentation/translations/zh_CN/core-api/kobject.rst
drivers/base/bus.c
drivers/base/core.c
drivers/dma-buf/dma-buf-sysfs-stats.c
fs/dlm/lockspace.c
fs/gfs2/sys.c
include/linux/kobject.h
kernel/params.c
lib/kobject_uevent.c