commit | 7d6e2143bed7dd61dac3a00321292b36d63c2a2f | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Mar 01 13:41:29 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 09 10:24:38 2018 -0800 |
tree | 7d33dffef7d8755d126b2f161b7be3ea44097b26 | |
parent | 9d1a50a2cceb3a8589531f7a2652f1a478df8907 [diff] |
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>