Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e51c857 authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Dmitry Torokhov
Browse files

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: default avatarSebastian Reichel <sre@kernel.org>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 542ad4f8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}