diff options
author | Sebastian Reichel <sre@kernel.org> | 2013-11-17 12:24:02 +0000 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-04-26 01:48:47 +0200 |
commit | 1a1cb0eca48499d9c1145728c432815c18cdda1a (patch) | |
tree | 0e06c91f3a29164a77cc860ced8bd6604777c11e | |
parent | 0740bff6aba601012cb4402ed6cd61efdd2009f5 (diff) | |
download | linux-1a1cb0eca48499d9c1145728c432815c18cdda1a.tar.bz2 |
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>
-rw-r--r-- | drivers/input/touchscreen/tsc2005.c | 4 |
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; } |