]> git.ipfire.org Git - thirdparty/linux.git/commit
coresight: pass THIS_MODULE implicitly through a macro
authorShashank Balaji <shashank.mahadasyam@sony.com>
Mon, 18 May 2026 10:19:59 +0000 (19:19 +0900)
committerDanilo Krummrich <dakr@kernel.org>
Mon, 8 Jun 2026 21:28:11 +0000 (23:28 +0200)
commitefc22b3f89a3cab9a779f604ef66e7b9c3bfaa72
tree932435ead18dc0620bf3620f7bc1762039e46eb8
parentc82dfce478334dca4e9a42c4519a55ee2a2c43c7
coresight: pass THIS_MODULE implicitly through a macro

Rename coresight_init_driver() to coresight_init_driver_with_owner() and
replace it with a macro wrapper that passes THIS_MODULE implicitly. This
is in line with what other buses do.

Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Leo Yan <leo.yan@arm.com>
Co-developed-by: Rahul Bukte <rahul.bukte@sony.com>
Signed-off-by: Rahul Bukte <rahul.bukte@sony.com>
Signed-off-by: Shashank Balaji <shashank.mahadasyam@sony.com>
Link: https://patch.msgid.link/20260518-acpi_mod_name-v5-3-705ccc430885@sony.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/hwtracing/coresight/coresight-catu.c
drivers/hwtracing/coresight/coresight-core.c
drivers/hwtracing/coresight/coresight-cpu-debug.c
drivers/hwtracing/coresight/coresight-funnel.c
drivers/hwtracing/coresight/coresight-replicator.c
drivers/hwtracing/coresight/coresight-stm.c
drivers/hwtracing/coresight/coresight-tmc-core.c
drivers/hwtracing/coresight/coresight-tnoc.c
drivers/hwtracing/coresight/coresight-tpdm.c
drivers/hwtracing/coresight/coresight-tpiu.c
include/linux/coresight.h