serial: sc16is7xx: Drop of_match_ptr() use
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 18 Mar 2019 10:29:17 +0000 (12:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Mar 2019 15:30:51 +0000 (00:30 +0900)
commit6b77908fea62f8416b0f67d55c30b472a8eae890
tree09b26de4c02266083e5d9513572bbd974960304d
parent00d9f0c65401a35100f4b98741576b4d2536fa28
serial: sc16is7xx: Drop of_match_ptr() use

There is an ACPI method to enumerate such devices via specific ACPI ID
and use of compatible strings. It will not work for the drivers which
have no OF match ID table present.

Reported-by: Georgii Staroselskii <georgii.staroselskii@emlid.com>
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