serial: 8250_dw: Switch to use acpi_dev_present()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 1 Mar 2018 11:41:29 +0000 (13:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2018 18:24:38 +0000 (10:24 -0800)
commit7d6e2143bed7dd61dac3a00321292b36d63c2a2f
tree7d33dffef7d8755d126b2f161b7be3ea44097b26
parent9d1a50a2cceb3a8589531f7a2652f1a478df8907
serial: 8250_dw: Switch to use acpi_dev_present()

Special settings for APMC0D08 are applied when device is present
in the system. To check its presence we may use acpi_dev_present()
instead of current open coded variant.

Cc: Feng Kan <fkan@apm.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c