diff options
author | Andy Shevchenko <[email protected]> | 2019-10-23 15:25:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-11-14 12:33:55 +0800 |
commit | 71564a26e3e9d29d3d8901eb32647c2c3a807e1f (patch) | |
tree | 742a8c7e43da05aa6b552e78f412226ea52d55ba /tools/perf/scripts/python/export-to-sqlite.py | |
parent | edb44e8461cfb9da8fd7a60d1ded2912a01100be (diff) |
driver core: platform: Declare ret variable only once
We may define ret variable only once and avoid adding it each time
platform_get_irq_optional() get extended.
For the sake of consistency do the same in __platform_get_irq_byname().
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Rafael J. Wysocki <[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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions