Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: hi6421-pmic: Update dev_err messages

Update dev_err messages to make them more readable.

Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Guodong Xu and committed by
Lee Jones
568e5476 876368c3

+3 -3
+3 -3
drivers/mfd/hi6421-pmic-core.c
··· 52 52 pmic->regmap = devm_regmap_init_mmio_clk(&pdev->dev, NULL, base, 53 53 &hi6421_regmap_config); 54 54 if (IS_ERR(pmic->regmap)) { 55 - dev_err(&pdev->dev, 56 - "regmap init failed: %ld\n", PTR_ERR(pmic->regmap)); 55 + dev_err(&pdev->dev, "Failed to initialise Regmap: %ld\n", 56 + PTR_ERR(pmic->regmap)); 57 57 return PTR_ERR(pmic->regmap); 58 58 } 59 59 ··· 70 70 ret = devm_mfd_add_devices(&pdev->dev, 0, hi6421_devs, 71 71 ARRAY_SIZE(hi6421_devs), NULL, 0, NULL); 72 72 if (ret) { 73 - dev_err(&pdev->dev, "add mfd devices failed: %d\n", ret); 73 + dev_err(&pdev->dev, "Failed to add child devices: %d\n", ret); 74 74 return ret; 75 75 } 76 76