aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/lpc32xx_ts.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/lpc32xx_ts.c')
-rw-r--r--drivers/input/touchscreen/lpc32xx_ts.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/input/touchscreen/lpc32xx_ts.c b/drivers/input/touchscreen/lpc32xx_ts.c
index 567ed64b5392..b2cd9472e2d1 100644
--- a/drivers/input/touchscreen/lpc32xx_ts.c
+++ b/drivers/input/touchscreen/lpc32xx_ts.c
@@ -212,10 +212,8 @@ static int lpc32xx_ts_probe(struct platform_device *pdev)
}
irq = platform_get_irq(pdev, 0);
- if (irq < 0) {
- dev_err(&pdev->dev, "Can't get interrupt resource\n");
+ if (irq < 0)
return irq;
- }
tsc = kzalloc(sizeof(*tsc), GFP_KERNEL);
input = input_allocate_device();