diff options
Diffstat (limited to 'drivers/mfd/ab8500-debugfs.c')
-rw-r--r-- | drivers/mfd/ab8500-debugfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index c4cb806978ac..5a8e707bc038 100644 --- a/drivers/mfd/ab8500-debugfs.c +++ b/drivers/mfd/ab8500-debugfs.c | |||
@@ -552,7 +552,7 @@ static struct dentry *ab8500_bank_file; | |||
552 | static struct dentry *ab8500_address_file; | 552 | static struct dentry *ab8500_address_file; |
553 | static struct dentry *ab8500_val_file; | 553 | static struct dentry *ab8500_val_file; |
554 | 554 | ||
555 | static int __devinit ab8500_debug_probe(struct platform_device *plf) | 555 | static int ab8500_debug_probe(struct platform_device *plf) |
556 | { | 556 | { |
557 | debug_bank = AB8500_MISC; | 557 | debug_bank = AB8500_MISC; |
558 | debug_address = AB8500_REV_REG & 0x00FF; | 558 | debug_address = AB8500_REV_REG & 0x00FF; |
@@ -597,7 +597,7 @@ exit_no_debugfs: | |||
597 | return -ENOMEM; | 597 | return -ENOMEM; |
598 | } | 598 | } |
599 | 599 | ||
600 | static int __devexit ab8500_debug_remove(struct platform_device *plf) | 600 | static int ab8500_debug_remove(struct platform_device *plf) |
601 | { | 601 | { |
602 | debugfs_remove(ab8500_val_file); | 602 | debugfs_remove(ab8500_val_file); |
603 | debugfs_remove(ab8500_address_file); | 603 | debugfs_remove(ab8500_address_file); |
@@ -614,7 +614,7 @@ static struct platform_driver ab8500_debug_driver = { | |||
614 | .owner = THIS_MODULE, | 614 | .owner = THIS_MODULE, |
615 | }, | 615 | }, |
616 | .probe = ab8500_debug_probe, | 616 | .probe = ab8500_debug_probe, |
617 | .remove = __devexit_p(ab8500_debug_remove) | 617 | .remove = ab8500_debug_remove |
618 | }; | 618 | }; |
619 | 619 | ||
620 | static int __init ab8500_debug_init(void) | 620 | static int __init ab8500_debug_init(void) |