diff options
Diffstat (limited to 'drivers/input/touchscreen/ads7846.c')
-rw-r--r-- | drivers/input/touchscreen/ads7846.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c index 634f6f6b9b13..a9fdf55c0238 100644 --- a/drivers/input/touchscreen/ads7846.c +++ b/drivers/input/touchscreen/ads7846.c | |||
@@ -1164,7 +1164,7 @@ static int __devinit ads7846_probe(struct spi_device *spi) | |||
1164 | ts->reg = regulator_get(&spi->dev, "vcc"); | 1164 | ts->reg = regulator_get(&spi->dev, "vcc"); |
1165 | if (IS_ERR(ts->reg)) { | 1165 | if (IS_ERR(ts->reg)) { |
1166 | err = PTR_ERR(ts->reg); | 1166 | err = PTR_ERR(ts->reg); |
1167 | dev_err(&spi->dev, "unable to get regulator: %ld\n", err); | 1167 | dev_err(&spi->dev, "unable to get regulator: %d\n", err); |
1168 | goto err_free_gpio; | 1168 | goto err_free_gpio; |
1169 | } | 1169 | } |
1170 | 1170 | ||