mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
i2c-pca-platform: Change device name of request_irq
i2c->adap.name shouldn't be used in request_irq. Instead the driver name "i2c-pca-platform" should be used. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Acked-by: Wolfram Sang <[email protected]> Cc: [email protected] Signed-off-by: Jean Delvare <[email protected]>
This commit is contained in:
parent
0a57274ea0
commit
323584436d
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ static int __devinit i2c_pca_pf_probe(struct platform_device *pdev)
|
|||
|
||||
if (irq) {
|
||||
ret = request_irq(irq, i2c_pca_pf_handler,
|
||||
IRQF_TRIGGER_FALLING, i2c->adap.name, i2c);
|
||||
IRQF_TRIGGER_FALLING, pdev->name, i2c);
|
||||
if (ret)
|
||||
goto e_reqirq;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue