serial: sc16is7xx: Switch to use device_get_match_data()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 18 Mar 2019 10:29:16 +0000 (12:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Mar 2019 15:30:51 +0000 (00:30 +0900)
commit00d9f0c65401a35100f4b98741576b4d2536fa28
treea5cf67f25423e57a0dbf0d4a167f8df46c66de9b
parent24bc6e68efa00f95034dbef0ba91661dd80bd37d
serial: sc16is7xx: Switch to use device_get_match_data()

Instead of open coded variants, switch to direct use of
device_get_match_data().

Tested-By: Georgii Staroselskii <georgii.staroselskii@emlid.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c