From: Andy Shevchenko Date: Fri, 1 Nov 2024 10:11:33 +0000 (+0200) Subject: mmc: sdhci-acpi: Remove not so useful error message X-Git-Tag: v6.14-rc1~153^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88e3008424d3882af1d8e56a43373bb1f2d14714;p=thirdparty%2Fkernel%2Flinux.git 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 Acked-by: Adrian Hunter Message-ID: <20241101101441.3518612-4-andriy.shevchenko@linux.intel.com> Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c index d1ce9193ece93..d577c6515b86b 100644 --- a/drivers/mmc/host/sdhci-acpi.c +++ b/drivers/mmc/host/sdhci-acpi.c @@ -849,9 +849,6 @@ static int sdhci_acpi_probe(struct platform_device *pdev) return -ENOMEM; len = resource_size(iomem); - if (len < 0x100) - dev_err(dev, "Invalid iomem size!\n"); - if (!devm_request_mem_region(dev, iomem->start, len, dev_name(dev))) return -ENOMEM;