diff options
| author | Jonathan Cameron <[email protected]> | 2024-02-17 16:42:35 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-03-25 19:50:08 +0000 |
| commit | 77fc5151f9c0e6068f1567b73d33e75a0c35333d (patch) | |
| tree | 969f055d2b40c70d8c6a0fdcab8cc7917226ad91 /tools/perf/scripts/python/libxed.py | |
| parent | 4cece764965020c22cff7665b18a012006359095 (diff) | |
device property: Move fwnode_handle_put() into property.h
By having this function as static inline in the header, the compiler
is able to see if can optmize the call out if (IS_ERR_OR_NULL(fwnode))
This will allow a simpler DEFINE_FREE() call in the following patch.
Suggested-by: Sakari Ailus <[email protected]>
Reviewed-by: Sakari Ailus <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions