]> git.baikalelectronics.ru Git - kernel.git/commit
sdhci: acpi: Use new method to get ACPI companion
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Jul 2017 14:59:58 +0000 (17:59 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:39 +0000 (14:01 +0200)
commit03f1ef2076ed2c945ca7f06f9c459463e9a534d1
treef913610ad488fc39dfba24c20014296c8d14ee35
parentd025cf83857f5629d77590e455833ee907d0adfe
sdhci: acpi: Use new method to get ACPI companion

ACPI_COMPANION() macro reduces a code to get a companion device out of
struct device.

Use it instead of an old method.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-acpi.c