mmc: sdhci-acpi: Remove unneeded acpi_bus_get_status() call
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 May 2017 10:47:53 +0000 (12:47 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:36 +0000 (10:30 +0200)
commit7244ac0eb47678472a199aeb925f5550837f2844
treef612892db28ce1ebef6af831bbcbfb159ebf167d
parent86beb538fa5f9bf6820ed4249332ba22a9fafe99
mmc: sdhci-acpi: Remove unneeded acpi_bus_get_status() call

The acpi-subsys already calls acpi_bus_get_status() and checks that
device->status.present is set before even registering the platform_device
so out probe function will never get called if device->status.present is
false and there is no need for this check.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-acpi.c