Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30db2bd1 authored by Jingoo Han's avatar Jingoo Han Committed by Linus Walleij
Browse files

gpio: mc33880: use dev_err() instead of printk()



dev_err() is more preferred than printk().

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f39f54af
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -130,7 +130,8 @@ static int mc33880_probe(struct spi_device *spi)
		ret = mc33880_write_config(mc);

	if (ret) {
		printk(KERN_ERR "Failed writing to " DRIVER_NAME ": %d\n", ret);
		dev_err(&spi->dev, "Failed writing to " DRIVER_NAME ": %d\n",
			ret);
		goto exit_destroy;
	}