The module pointer in class_create() never actually did anything, and it shouldn't have been requred to be set as a parameter even if it did something. So just remove it and fix up all callers of the function in the kernel tree at the same time. Cc: "Rafael J. Wysocki" <rafael@kernel.org> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Link: https://lore.kernel.org/r/20230313181843.1207845-4-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| badrange.c | ||
| btt.c | ||
| btt.h | ||
| btt_devs.c | ||
| bus.c | ||
| claim.c | ||
| core.c | ||
| dax_devs.c | ||
| dimm.c | ||
| dimm_devs.c | ||
| e820.c | ||
| label.c | ||
| label.h | ||
| namespace_devs.c | ||
| nd-core.h | ||
| nd.h | ||
| nd_perf.c | ||
| nd_virtio.c | ||
| of_pmem.c | ||
| pfn.h | ||
| pfn_devs.c | ||
| pmem.c | ||
| pmem.h | ||
| region.c | ||
| region_devs.c | ||
| security.c | ||
| virtio_pmem.c | ||
| virtio_pmem.h | ||