aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-04-30 09:49:11 +0100
committerGreg Kroah-Hartman <[email protected]>2024-05-03 07:26:38 +0200
commit6d0ca4a2a7e25f9ad07c1f335f20b4d9e048cdd5 (patch)
treeffd482a9e70542317f8f998d9739ff42de8483b1 /tools/perf/scripts/python/bin
parent73df3d6f2e9533e93a5039a33c40dd7216b81801 (diff)
nvmem: layouts: store owner from modules with nvmem_layout_driver_register()
Modules registering driver with nvmem_layout_driver_register() might forget to set .owner field. The field is used by some of other kernel parts for reference counting (try_module_get()), so it is expected that drivers will set it. Solve the problem by moving this task away from the drivers to the core code, just like we did for platform_driver in commit 9447057eaff8 ("platform_device: use a macro instead of platform_driver_register"). Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Michael Walle <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions