projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd0f6d
)
ata: libahci_platform: remove redundant dev_err message
author
Ding Xiang
<dingxiang@cmss.chinamobile.com>
Tue, 16 Jul 2019 09:54:08 +0000
(17:54 +0800)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 16 Jul 2019 14:27:09 +0000
(08:27 -0600)
devm_ioremap_resource already contains error message, so remove
the redundant dev_err message
Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/libahci_platform.c
patch
|
blob
|
history
diff --git
a/drivers/ata/libahci_platform.c
b/drivers/ata/libahci_platform.c
index 72312ad2e142d41202d9378889a1cd015795c745..3a36e76eca831db26715248b7665a674801aed28 100644
(file)
--- a/
drivers/ata/libahci_platform.c
+++ b/
drivers/ata/libahci_platform.c
@@
-408,7
+408,6
@@
struct ahci_host_priv *ahci_platform_get_resources(struct platform_device *pdev,
hpriv->mmio = devm_ioremap_resource(dev,
platform_get_resource(pdev, IORESOURCE_MEM, 0));
if (IS_ERR(hpriv->mmio)) {
- dev_err(dev, "no mmio space\n");
rc = PTR_ERR(hpriv->mmio);
goto err_out;
}