Skip to content

Commit 88e3008

Browse files
andy-shevstorulf
authored andcommitted
mmc: sdhci-acpi: Remove not so useful error message
First of all, this error message is just informative and doesn't prevent driver from going on. Second, the ioremap() on many architectures just works on page size granularity, which is higher than 256 bytes. Last, but not lease, this is an impediment for furhter cleanups, hence remove it. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Message-ID: <20241101101441.3518612-4-andriy.shevchenko@linux.intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent df42581 commit 88e3008

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/mmc/host/sdhci-acpi.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -849,9 +849,6 @@ static int sdhci_acpi_probe(struct platform_device *pdev)
849849
return -ENOMEM;
850850

851851
len = resource_size(iomem);
852-
if (len < 0x100)
853-
dev_err(dev, "Invalid iomem size!\n");
854-
855852
if (!devm_request_mem_region(dev, iomem->start, len, dev_name(dev)))
856853
return -ENOMEM;
857854

0 commit comments

Comments
 (0)