diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2012-06-28 21:08:03 +0800 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2012-06-29 15:58:02 +0200 |
commit | c2ef9a1a248bc597f3275e8d52e8ad68416d039f (patch) | |
tree | 05a2e0ce37ab4bf75207435830092066d0ea02dc /drivers/input | |
parent | ec02ac2b7e1ad04ab2486fe9b2fbfc3ad5178f7c (diff) | |
download | op-kernel-dev-c2ef9a1a248bc597f3275e8d52e8ad68416d039f.zip op-kernel-dev-c2ef9a1a248bc597f3275e8d52e8ad68416d039f.tar.gz |
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 b1108ca..8b33f3a 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, goto err_free_object; error = request_threaded_irq(client->irq, NULL, mxt_interrupt, - pdata->irqflags, client->dev.driver->name, data); + pdata->irqflags, client->name, data); if (error) { dev_err(&client->dev, "Failed to register interrupt\n"); goto err_free_object; |