-
- Downloads
driver core: class: remove module * from class_create()
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>
Showing
- arch/mips/kernel/mips-mt.c 1 addition, 1 deletionarch/mips/kernel/mips-mt.c
- arch/mips/sibyte/common/sb_tbprof.c 1 addition, 1 deletionarch/mips/sibyte/common/sb_tbprof.c
- arch/powerpc/platforms/book3s/vas-api.c 1 addition, 1 deletionarch/powerpc/platforms/book3s/vas-api.c
- arch/x86/kernel/cpu/resctrl/pseudo_lock.c 1 addition, 1 deletionarch/x86/kernel/cpu/resctrl/pseudo_lock.c
- arch/x86/kernel/cpuid.c 1 addition, 1 deletionarch/x86/kernel/cpuid.c
- arch/x86/kernel/msr.c 1 addition, 1 deletionarch/x86/kernel/msr.c
- block/bsg.c 1 addition, 1 deletionblock/bsg.c
- drivers/accel/drm_accel.c 1 addition, 1 deletiondrivers/accel/drm_accel.c
- drivers/accel/habanalabs/common/habanalabs_drv.c 1 addition, 1 deletiondrivers/accel/habanalabs/common/habanalabs_drv.c
- drivers/base/power/wakeup_stats.c 1 addition, 1 deletiondrivers/base/power/wakeup_stats.c
- drivers/block/aoe/aoechr.c 1 addition, 1 deletiondrivers/block/aoe/aoechr.c
- drivers/block/rnbd/rnbd-clt-sysfs.c 1 addition, 1 deletiondrivers/block/rnbd/rnbd-clt-sysfs.c
- drivers/block/rnbd/rnbd-srv-sysfs.c 1 addition, 1 deletiondrivers/block/rnbd/rnbd-srv-sysfs.c
- drivers/block/ublk_drv.c 1 addition, 1 deletiondrivers/block/ublk_drv.c
- drivers/char/bsr.c 1 addition, 1 deletiondrivers/char/bsr.c
- drivers/char/dsp56k.c 1 addition, 1 deletiondrivers/char/dsp56k.c
- drivers/char/ipmi/ipmi_devintf.c 1 addition, 1 deletiondrivers/char/ipmi/ipmi_devintf.c
- drivers/char/lp.c 1 addition, 1 deletiondrivers/char/lp.c
- drivers/char/mem.c 1 addition, 1 deletiondrivers/char/mem.c
- drivers/char/misc.c 1 addition, 1 deletiondrivers/char/misc.c
Loading
Please register or sign in to comment