This makes error messages visible to the user, so he/she can eventually fix them. Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx> --- drivers/regulator/bq24022.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/bq24022.c b/drivers/regulator/bq24022.c index 56627d7..7bd906c 100644 --- a/drivers/regulator/bq24022.c +++ b/drivers/regulator/bq24022.c @@ -93,13 +93,13 @@ static int __init bq24022_probe(struct platform_device *pdev) ret = gpio_request(pdata->gpio_nce, "ncharge_en"); if (ret) { - dev_dbg(&pdev->dev, "couldn't request nCE GPIO: %d\n", + dev_err(&pdev->dev, "couldn't request nCE GPIO: %d\n", pdata->gpio_nce); goto err_ce; } ret = gpio_request(pdata->gpio_iset2, "charge_mode"); if (ret) { - dev_dbg(&pdev->dev, "couldn't request ISET2 GPIO: %d\n", + dev_err(&pdev->dev, "couldn't request ISET2 GPIO: %d\n", pdata->gpio_iset2); goto err_iset2; } @@ -119,7 +119,7 @@ static int __init bq24022_probe(struct platform_device *pdev) bq24022 = regulator_register(&bq24022_desc, &pdev->dev, pdata->init_data, pdata); if (IS_ERR(bq24022)) { - dev_dbg(&pdev->dev, "couldn't register regulator\n"); + dev_err(&pdev->dev, "couldn't register regulator\n"); ret = PTR_ERR(bq24022); goto err_reg; } -- 1.7.2.3 _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm