From 3d79c9574738cc20c7680c3465adc141311bcf28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Wed, 11 Dec 2013 15:46:37 +0100 Subject: [PATCH] mfd: ti_am335x_tscadc: print error message with dev_err() instead of dev_dbg() --- drivers/mfd/ti_am335x_tscadc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/ti_am335x_tscadc.c b/drivers/mfd/ti_am335x_tscadc.c index c67bf019a616..37cb42ca1be0 100644 --- a/drivers/mfd/ti_am335x_tscadc.c +++ b/drivers/mfd/ti_am335x_tscadc.c @@ -282,8 +282,11 @@ static int ti_tscadc_probe(struct platform_device *pdev) err = mfd_add_devices(&pdev->dev, pdev->id, tscadc->cells, tscadc->used_cells, NULL, 0, NULL); - if (err < 0) + if (err < 0) { + dev_err(&pdev->dev, "Failed to add MFD devices\n"); goto err_disable_clk; + } + dev_info(&pdev->dev, "TI Touchscreen/ADC driver initialized\n"); device_init_wakeup(&pdev->dev, true); platform_set_drvdata(pdev, tscadc); -- 2.39.2