提交 fdde6e7b 编写于 作者: C Chen-Yu Tsai 提交者: Maxime Ripard

drm/sun4i: backend: Drop trailing 0 from backend in error message

Now that we support multiple instances of backends, the trailing 0
implying only one backend no longer makes sense.
Signed-off-by: NChen-Yu Tsai <wens@csie.org>
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
上级 80a58240
...@@ -320,7 +320,7 @@ static int sun4i_backend_bind(struct device *dev, struct device *master, ...@@ -320,7 +320,7 @@ static int sun4i_backend_bind(struct device *dev, struct device *master,
backend->regs = devm_regmap_init_mmio(dev, regs, backend->regs = devm_regmap_init_mmio(dev, regs,
&sun4i_backend_regmap_config); &sun4i_backend_regmap_config);
if (IS_ERR(backend->regs)) { if (IS_ERR(backend->regs)) {
dev_err(dev, "Couldn't create the backend0 regmap\n"); dev_err(dev, "Couldn't create the backend regmap\n");
return PTR_ERR(backend->regs); return PTR_ERR(backend->regs);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册