summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-08-04 16:48:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-18 16:02:06 +0300
commit465ddff7e4867fcb65e27fa7ff4d0bb0999e4500 (patch)
treee8887c768e87684b8a5ffe500be4ef6cea26efa6 /net/unix/af_unix.c
parent145f5646be67eb5613d9606c5cb5139bb00df8b9 (diff)
downloadlinux-465ddff7e4867fcb65e27fa7ff4d0bb0999e4500.tar.xz
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions