diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-28 18:54:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-28 18:54:04 -0400 |
commit | b779b332d0e1ef68f40867948ae5526a3e925163 (patch) | |
tree | d2fc8bb455d696fbdb288055ce0a4f0cfcee31fd /drivers/mfd/pcf50633-core.c | |
parent | a0cadc2777a71b1fde62e6417284b38e52128e88 (diff) | |
parent | 0f48285755991b73c14b6eeeee464590f490ac25 (diff) |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (73 commits)
power: Revert "power_supply: Mark twl4030_charger as broken"
mfd: Fix a memory leak when unload mc13xxx-core module
mfd: Fix resource reclaim for max8998
mfd: Remove unneeded ret value checking for max8998 register updates
mfd: Add free max8998->ono irq in max8998_irq_exit()
mfd: Fix resource reclaim in pcf50633_remove()
omap4: pandaboard: fix up mmc card detect logic
mfd: Fix ezx_pcap_probe error path
mfd: Fix off-by-one value range checking for tps6507x
mfd: Remove __devinitdata from tc6393xb_mmc_resources
mfd: Add WM831x SPI support
mfd: Factor out WM831x I2C I/O from the core driver
mfd: Remove DEBUG defines from mc13xxx-core
mfd: Fix jz4740_adc_set_enabled
mfd: Add TPS658621C device ID
mfd: Fix twl-irq function declaration warnings
regulator: max8998 BUCK1/2 voltage change with use of GPIOs
mfd: Voltages and GPIOs platform_data definitions for max8998
regulator: max8998 BUCK1/2 internal voltages and indexes defined
mfd: Support for ICs compliant with max8998
...
Diffstat (limited to 'drivers/mfd/pcf50633-core.c')
-rw-r--r-- | drivers/mfd/pcf50633-core.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/mfd/pcf50633-core.c b/drivers/mfd/pcf50633-core.c index 23e585527285..501ce13b693e 100644 --- a/drivers/mfd/pcf50633-core.c +++ b/drivers/mfd/pcf50633-core.c | |||
@@ -25,13 +25,6 @@ | |||
25 | 25 | ||
26 | #include <linux/mfd/pcf50633/core.h> | 26 | #include <linux/mfd/pcf50633/core.h> |
27 | 27 | ||
28 | int pcf50633_irq_init(struct pcf50633 *pcf, int irq); | ||
29 | void pcf50633_irq_free(struct pcf50633 *pcf); | ||
30 | #ifdef CONFIG_PM | ||
31 | int pcf50633_irq_suspend(struct pcf50633 *pcf); | ||
32 | int pcf50633_irq_resume(struct pcf50633 *pcf); | ||
33 | #endif | ||
34 | |||
35 | static int __pcf50633_read(struct pcf50633 *pcf, u8 reg, int num, u8 *data) | 28 | static int __pcf50633_read(struct pcf50633 *pcf, u8 reg, int num, u8 *data) |
36 | { | 29 | { |
37 | int ret; | 30 | int ret; |
@@ -346,12 +339,14 @@ static int __devexit pcf50633_remove(struct i2c_client *client) | |||
346 | struct pcf50633 *pcf = i2c_get_clientdata(client); | 339 | struct pcf50633 *pcf = i2c_get_clientdata(client); |
347 | int i; | 340 | int i; |
348 | 341 | ||
342 | sysfs_remove_group(&client->dev.kobj, &pcf_attr_group); | ||
349 | pcf50633_irq_free(pcf); | 343 | pcf50633_irq_free(pcf); |
350 | 344 | ||
351 | platform_device_unregister(pcf->input_pdev); | 345 | platform_device_unregister(pcf->input_pdev); |
352 | platform_device_unregister(pcf->rtc_pdev); | 346 | platform_device_unregister(pcf->rtc_pdev); |
353 | platform_device_unregister(pcf->mbc_pdev); | 347 | platform_device_unregister(pcf->mbc_pdev); |
354 | platform_device_unregister(pcf->adc_pdev); | 348 | platform_device_unregister(pcf->adc_pdev); |
349 | platform_device_unregister(pcf->bl_pdev); | ||
355 | 350 | ||
356 | for (i = 0; i < PCF50633_NUM_REGULATORS; i++) | 351 | for (i = 0; i < PCF50633_NUM_REGULATORS; i++) |
357 | platform_device_unregister(pcf->regulator_pdev[i]); | 352 | platform_device_unregister(pcf->regulator_pdev[i]); |