diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 21:19:05 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 23:57:03 (GMT) |
commit | d8929942806270801023c90d78885e5347be718f (patch) | |
tree | c1bea69a0436855c6e149ec43d1f90d531345609 /drivers/mtd/maps/intel_vr_nor.c | |
parent | b859f15921321b7bf4cb4cf188e31a6a25d2dff3 (diff) | |
download | linux-fsl-qoriq-d8929942806270801023c90d78885e5347be718f.tar.xz |
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/maps/intel_vr_nor.c')
-rw-r--r-- | drivers/mtd/maps/intel_vr_nor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/maps/intel_vr_nor.c b/drivers/mtd/maps/intel_vr_nor.c index 3ee2ad1..b14053b 100644 --- a/drivers/mtd/maps/intel_vr_nor.c +++ b/drivers/mtd/maps/intel_vr_nor.c @@ -189,8 +189,7 @@ static void vr_nor_pci_remove(struct pci_dev *dev) pci_disable_device(dev); } -static int -vr_nor_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) +static int vr_nor_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) { struct vr_nor_mtd *p = NULL; unsigned int exp_timing_cs0; |