aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2024-04-30 09:49:16 +0100
committerGreg Kroah-Hartman <[email protected]>2024-05-03 07:26:38 +0200
commit8d8fc146dd7a0d6a6b37695747a524310dfb9d57 (patch)
treeed5f0d2b765ce4579d378df94aed083825539837 /tools/perf/scripts/python/bin
parent154c1ec943e34f3188c9305b0c91d5e7dc1373b8 (diff)
nvmem: core: switch to use device_add_groups()
devm_device_add_groups() is being removed from the kernel, so move the nvmem driver to use device_add_groups() instead. The logic is identical, when the device is removed the driver core will properly clean up and remove the groups, and the memory used by the attribute groups will be freed because it was created with dev_* calls, so this is functionally identical overall. Cc: Srinivas Kandagatla <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Greg Kroah-Hartman <[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