summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2014-04-26 06:50:13 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-15 01:39:50 +0200
commit6e51c857b290b694487474b2d2d85239f232f7e4 (patch)
tree0b9268a1f0421a831f79a489300563b2c46037e5
parentInput: gpio_keys - convert struct descriptions to kernel-doc (diff)
downloadlinux-6e51c857b290b694487474b2d2d85239f232f7e4.tar.xz
linux-6e51c857b290b694487474b2d2d85239f232f7e4.zip
Input: tsc2005 - use dev_err for error messages
Change some dev_dbg() invocations to dev_err() ones, because they are supposed to output error messages. Signed-off-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--drivers/input/touchscreen/tsc2005.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers/input/touchscreen/tsc2005.c
index 550adcbbfc23..520e673687ff 100644
--- a/drivers/input/touchscreen/tsc2005.c
+++ b/drivers/input/touchscreen/tsc2005.c
@@ -579,7 +579,7 @@ static int tsc2005_probe(struct spi_device *spi)
int error;
if (!pdata) {
- dev_dbg(&spi->dev, "no platform data\n");
+ dev_err(&spi->dev, "no platform data\n");
return -ENODEV;
}
@@ -591,7 +591,7 @@ static int tsc2005_probe(struct spi_device *spi)
max_p = pdata->ts_pressure_max ? : MAX_12BIT;
if (spi->irq <= 0) {
- dev_dbg(&spi->dev, "no irq\n");
+ dev_err(&spi->dev, "no irq\n");
return -ENODEV;
}