diff options
author | 2020-08-04 16:48:07 +0300 | |
---|---|---|
committer | 2020-08-18 15:02:06 +0200 | |
commit | 465ddff7e4867fcb65e27fa7ff4d0bb0999e4500 (patch) | |
tree | e8887c768e87684b8a5ffe500be4ef6cea26efa6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tty: serial, fix kernel-doc (diff) | |
download | wireguard-linux-465ddff7e4867fcb65e27fa7ff4d0bb0999e4500.tar.xz wireguard-linux-465ddff7e4867fcb65e27fa7ff4d0bb0999e4500.zip |
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 <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200804134807.11589-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions