mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 15:47:36 +00:00
mmc: sdhci-xenon: Remove redundant dev_err call in get_dt_pad_ctrl_data()
There is a error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
dfc28b110d
commit
e6e267b08f
1 changed files with 1 additions and 4 deletions
|
@ -639,11 +639,8 @@ static int get_dt_pad_ctrl_data(struct sdhci_host *host,
|
||||||
|
|
||||||
params->pad_ctrl.reg = devm_ioremap_resource(mmc_dev(host->mmc),
|
params->pad_ctrl.reg = devm_ioremap_resource(mmc_dev(host->mmc),
|
||||||
&iomem);
|
&iomem);
|
||||||
if (IS_ERR(params->pad_ctrl.reg)) {
|
if (IS_ERR(params->pad_ctrl.reg))
|
||||||
dev_err(mmc_dev(host->mmc), "Unable to get SoC PHY PAD ctrl register for %s\n",
|
|
||||||
np->name);
|
|
||||||
return PTR_ERR(params->pad_ctrl.reg);
|
return PTR_ERR(params->pad_ctrl.reg);
|
||||||
}
|
|
||||||
|
|
||||||
ret = of_property_read_string(np, "marvell,pad-type", &name);
|
ret = of_property_read_string(np, "marvell,pad-type", &name);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
|
Loading…
Reference in a new issue