mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
mfd: max8925: Fix onkey driver irq base
update onkey driver's irq base, it should get from max8925, but not save in a private value Signed-off-by: Qing Xu <[email protected]> Acked-by: Dmitry Torokhov <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
f9ed143180
commit
678e8cb506
2 changed files with 1 additions and 4 deletions
|
|
@ -867,7 +867,7 @@ int max8925_device_init(struct max8925_chip *chip,
|
|||
|
||||
ret = mfd_add_devices(chip->dev, 0, &onkey_devs[0],
|
||||
ARRAY_SIZE(onkey_devs),
|
||||
NULL, 0, NULL);
|
||||
NULL, chip->irq_base, NULL);
|
||||
if (ret < 0) {
|
||||
dev_err(chip->dev, "Failed to add onkey subdev\n");
|
||||
goto out_dev;
|
||||
|
|
|
|||
Loading…
Reference in a new issue