aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-02-20 15:15:17 +0000
committerGreg Kroah-Hartman <[email protected]>2022-02-21 18:00:29 +0100
commit8c751e0d9a5264376935a84429a2d468c8877d99 (patch)
treeef0f27a3d167b165c65f0cef996e5fa4e7d7635b /tools/perf/scripts/python/stackcollapse.py
parent5825b2c6762611e67ccaf3ccf64485365a120f0b (diff)
nvmem: core: Check input parameter for NULL in nvmem_unregister()
nvmem_unregister() frees resources and standard pattern is to allow caller to not care if it's NULL or not. This will reduce burden on the callers to perform this check. Signed-off-by: Andy Shevchenko <[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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions