serial: 8250_of: Use of_device_get_match_data()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 30 Apr 2019 18:45:59 +0000 (21:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2019 10:12:02 +0000 (12:12 +0200)
commit525667c0259d6072016436b189ece597b32c1648
tree5648f0600e441a19a437843a7d76e1865c624707
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
serial: 8250_of: Use of_device_get_match_data()

Use of_device_get_match_data() to simplify the code a bit.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: John Garry <john.garry@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_of.c