diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:19:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:03 -0500 |
commit | d8929942806270801023c90d78885e5347be718f (patch) | |
tree | c1bea69a0436855c6e149ec43d1f90d531345609 /drivers/mtd/devices/spear_smi.c | |
parent | b859f15921321b7bf4cb4cf188e31a6a25d2dff3 (diff) |
Drivers: mtd: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.
This change removes the use of __devinit, __devexit_p, and __devexit
from these drivers.
Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mtd/devices/spear_smi.c')
-rw-r--r-- | drivers/mtd/devices/spear_smi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/devices/spear_smi.c b/drivers/mtd/devices/spear_smi.c index 2d2c2a5d4d2a..2aabd96bf0ff 100644 --- a/drivers/mtd/devices/spear_smi.c +++ b/drivers/mtd/devices/spear_smi.c | |||
@@ -757,7 +757,7 @@ err_probe: | |||
757 | 757 | ||
758 | #ifdef CONFIG_OF | 758 | #ifdef CONFIG_OF |
759 | static int spear_smi_probe_config_dt(struct platform_device *pdev, | 759 | static int spear_smi_probe_config_dt(struct platform_device *pdev, |
760 | struct device_node *np) | 760 | struct device_node *np) |
761 | { | 761 | { |
762 | struct spear_smi_plat_data *pdata = dev_get_platdata(&pdev->dev); | 762 | struct spear_smi_plat_data *pdata = dev_get_platdata(&pdev->dev); |
763 | struct device_node *pp = NULL; | 763 | struct device_node *pp = NULL; |
@@ -800,7 +800,7 @@ static int spear_smi_probe_config_dt(struct platform_device *pdev, | |||
800 | } | 800 | } |
801 | #else | 801 | #else |
802 | static int spear_smi_probe_config_dt(struct platform_device *pdev, | 802 | static int spear_smi_probe_config_dt(struct platform_device *pdev, |
803 | struct device_node *np) | 803 | struct device_node *np) |
804 | { | 804 | { |
805 | return -ENOSYS; | 805 | return -ENOSYS; |
806 | } | 806 | } |