diff options
Diffstat (limited to 'drivers/input/mouse/pxa930_trkball.c')
-rw-r--r-- | drivers/input/mouse/pxa930_trkball.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/mouse/pxa930_trkball.c b/drivers/input/mouse/pxa930_trkball.c index a0f45c4fc19..d297accf9a7 100644 --- a/drivers/input/mouse/pxa930_trkball.c +++ b/drivers/input/mouse/pxa930_trkball.c | |||
@@ -186,7 +186,7 @@ static int __devinit pxa930_trkball_probe(struct platform_device *pdev) | |||
186 | error = request_irq(irq, pxa930_trkball_interrupt, IRQF_DISABLED, | 186 | error = request_irq(irq, pxa930_trkball_interrupt, IRQF_DISABLED, |
187 | pdev->name, trkball); | 187 | pdev->name, trkball); |
188 | if (error) { | 188 | if (error) { |
189 | dev_err(&pdev->dev, "failed to request irq: %d\n", ret); | 189 | dev_err(&pdev->dev, "failed to request irq: %d\n", error); |
190 | goto failed_free_io; | 190 | goto failed_free_io; |
191 | } | 191 | } |
192 | 192 | ||
@@ -227,7 +227,7 @@ failed_free_io: | |||
227 | iounmap(trkball->mmio_base); | 227 | iounmap(trkball->mmio_base); |
228 | failed: | 228 | failed: |
229 | kfree(trkball); | 229 | kfree(trkball); |
230 | return ret; | 230 | return error; |
231 | } | 231 | } |
232 | 232 | ||
233 | static int __devexit pxa930_trkball_remove(struct platform_device *pdev) | 233 | static int __devexit pxa930_trkball_remove(struct platform_device *pdev) |