diff options
| author | Anson Huang <[email protected]> | 2019-05-24 05:51:00 +0000 |
|---|---|---|
| committer | Shawn Guo <[email protected]> | 2019-06-05 06:08:10 +0000 |
| commit | d8dfab0f4d0669ae299511e3ab3e79f312476f75 (patch) | |
| tree | f33c9f29e168cb2318a1f5d769105211d7bc2cd8 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | soc: imx: Add SCU SoC info driver support (diff) | |
| download | kernel-d8dfab0f4d0669ae299511e3ab3e79f312476f75.tar.gz kernel-d8dfab0f4d0669ae299511e3ab3e79f312476f75.zip | |
soc: imx: soc-imx8: Avoid unnecessary of_node_put() in error handling
of_node_put() is called after of_match_node() successfully called,
then in the following error handling, of_node_put() is called again
which is unnecessary, this patch adjusts the location of of_node_put()
to avoid such scenario.
Signed-off-by: Anson Huang <[email protected]>
Reviewed-by: Leonard Crestez <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
