drm/sun4i: backend: Drop trailing 0 from backend in error message
authorChen-Yu Tsai <wens@csie.org>
Fri, 21 Apr 2017 08:38:51 +0000 (16:38 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 14 May 2017 06:27:41 +0000 (08:27 +0200)
Now that we support multiple instances of backends, the trailing 0
implying only one backend no longer makes sense.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/gpu/drm/sun4i/sun4i_backend.c

index 95a77c6a91615c2443adb8e30df15287ece64361..e17e20036aa3a2e8bee1c538ae5a39dca72d7253 100644 (file)
@@ -320,7 +320,7 @@ static int sun4i_backend_bind(struct device *dev, struct device *master,
        backend->regs = devm_regmap_init_mmio(dev, regs,
                                              &sun4i_backend_regmap_config);
        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);
        }