diff options
author | Bitan Biswas <bbiswas@nvidia.com> | 2013-04-12 22:08:39 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:08:06 -0700 |
commit | ed243a990f89a9b6b1b5f7fe580aa900d78486ab (patch) | |
tree | 13ce230050339a1c5fd96b45610dc1e77b796ed8 /drivers/mfd/max77660-core.c | |
parent | 17a752db2de0fba45770990a4ddd18d44efb28c0 (diff) |
mfd: max77660: add haptic support
bug 1252775
Change-Id: I9ba33feaeb3c3ff206f5cd3c3822aae0d82a6cee
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/218991
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
Diffstat (limited to 'drivers/mfd/max77660-core.c')
-rw-r--r-- | drivers/mfd/max77660-core.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/mfd/max77660-core.c b/drivers/mfd/max77660-core.c index b8d3c3101bc5..8572d5dd7166 100644 --- a/drivers/mfd/max77660-core.c +++ b/drivers/mfd/max77660-core.c @@ -69,14 +69,6 @@ static struct resource chg_resources[] = { } }; -static struct resource haptic_resources[] = { - { - .start = MAX77660_IRQ_HAPTIC, - .end = MAX77660_IRQ_HAPTIC, - .flags = IORESOURCE_IRQ, - } -}; - static struct resource max77660_sys_wdt_resources[] = { { .start = MAX77660_IRQ_GLBL_WDTWRN_SYS, @@ -147,9 +139,9 @@ static struct mfd_cell max77660_cells[] = { .resources = &max77660_chg_extcon_resources[0], }, { + /* name matched in max77660 haptic driver */ .name = "max77660-vibrator", - .num_resources = ARRAY_SIZE(haptic_resources), - .resources = &haptic_resources[0], + /* no irq exists for haptic */ }, { .name = "max77660-sys-wdt", |