aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorYangtao Li <[email protected]>2023-04-09 16:43:37 +0000
committerMike Snitzer <[email protected]>2023-04-11 16:09:08 +0000
commit3664ff82dae1ef9f14f7763d3dd30565e7ef9e14 (patch)
treeb18b6bec1dd93c543024e7943349fb3e239767d7 /tools/perf/scripts/python/mem-phys-addr.py
parentdm raid: remove unused d variable (diff)
downloadkernel-3664ff82dae1ef9f14f7763d3dd30565e7ef9e14.tar.gz
kernel-3664ff82dae1ef9f14f7763d3dd30565e7ef9e14.zip
dm: add helper macro for simple DM target module init and exit
Eliminate duplicate boilerplate code for simple modules that contain a single DM target driver without any additional setup code. Add a new module_dm() macro, which replaces the module_init() and module_exit() with template functions that call dm_register_target() and dm_unregister_target() respectively. Signed-off-by: Yangtao Li <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions