diff options
| author | Andy Shevchenko <[email protected]> | 2020-08-04 16:48:07 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-08-18 15:02:06 +0200 |
| commit | 465ddff7e4867fcb65e27fa7ff4d0bb0999e4500 (patch) | |
| tree | e8887c768e87684b8a5ffe500be4ef6cea26efa6 /tools/perf/scripts/python | |
| parent | 145f5646be67eb5613d9606c5cb5139bb00df8b9 (diff) | |
serial: sa1100: use platform_get_resource()
Use platform_get_resource() to fetch the memory resource
instead of open-coded variant.
While here, fail the probe if no resource found or no port is added.
Signed-off-by: Andy Shevchenko <[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')
0 files changed, 0 insertions, 0 deletions