diff options
| author | 2026-03-27 11:27:29 +0100 | |
|---|---|---|
| committer | 2026-04-09 13:49:19 +0100 | |
| commit | 7a43ccf85dfe06eef483c034e68b81ff326741aa (patch) | |
| tree | 335b7363d0e91d50b83d5f15675d28409ca4f2ed /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | leds: led-class: Switch to using class_find_device_by_fwnode() (diff) | |
leds: class: Make led_remove_lookup() NULL-aware
It is a usual pattern in the kernel to make releasing functions be NULL-aware
so they become a no-op. This helps reducing unneeded checks in the code where
the given resource is optional.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260327102729.797254-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
