mirror of https://gitee.com/openkylin/linux.git
ASoC: sh: fsi: Restore devm_ioremap() alignment
The alignment of the continuation of the devm_ioremap() call in
fsi_probe() was broken. Join the lines, as all parameters can fit on a
single line.
Fixes: 4bdc0d676a
("remove ioremap_nocache and devm_ioremap_nocache")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20200212085008.9652-1-geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
7b94ace7ec
commit
82dabf599b
|
@ -1938,8 +1938,7 @@ static int fsi_probe(struct platform_device *pdev)
|
||||||
if (!master)
|
if (!master)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
master->base = devm_ioremap(&pdev->dev,
|
master->base = devm_ioremap(&pdev->dev, res->start, resource_size(res));
|
||||||
res->start, resource_size(res));
|
|
||||||
if (!master->base) {
|
if (!master->base) {
|
||||||
dev_err(&pdev->dev, "Unable to ioremap FSI registers.\n");
|
dev_err(&pdev->dev, "Unable to ioremap FSI registers.\n");
|
||||||
return -ENXIO;
|
return -ENXIO;
|
||||||
|
|
Loading…
Reference in New Issue