diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2012-06-28 09:08:03 -0400 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2012-06-29 09:58:02 -0400 |
commit | c2ef9a1a248bc597f3275e8d52e8ad68416d039f (patch) | |
tree | 05a2e0ce37ab4bf75207435830092066d0ea02dc /drivers/input | |
parent | ec02ac2b7e1ad04ab2486fe9b2fbfc3ad5178f7c (diff) |
Input: atmel_mxt_ts - use client name for irq
The atmel_mxt_ts driver can support multiple devices simultaneously.
Use the i2c_client name instead of the driver name when requesting an
interrupt to make the different interrupts distinguishable in
/proc/interrupts and top.
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/atmel_mxt_ts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index b1108cae73ac..8b33f3ae4eba 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c | |||
@@ -1154,7 +1154,7 @@ static int __devinit mxt_probe(struct i2c_client *client, | |||
1154 | goto err_free_object; | 1154 | goto err_free_object; |
1155 | 1155 | ||
1156 | error = request_threaded_irq(client->irq, NULL, mxt_interrupt, | 1156 | error = request_threaded_irq(client->irq, NULL, mxt_interrupt, |
1157 | pdata->irqflags, client->dev.driver->name, data); | 1157 | pdata->irqflags, client->name, data); |
1158 | if (error) { | 1158 | if (error) { |
1159 | dev_err(&client->dev, "Failed to register interrupt\n"); | 1159 | dev_err(&client->dev, "Failed to register interrupt\n"); |
1160 | goto err_free_object; | 1160 | goto err_free_object; |