diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-01-03 19:17:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-01-03 19:17:50 -0500 |
commit | 49569646b2413ee1a4fb7c4537fca058ac22292e (patch) | |
tree | 41b8bc72975610295c2e4cf9318478272c667c75 /drivers/scsi/csiostor/csio_init.c | |
parent | 5f738967e89584f99c6a11c6bf09b16c50b6a03e (diff) | |
parent | 6ae141718e3f9c7e2c620e999c86612a7f415bb1 (diff) |
Merge tag 'driver-core-3.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core __dev* removal patches - take 3 - from Greg Kroah-Hartman:
"Here are the remaining __dev* removal patches against the 3.8-rc2
tree. All of these patches were previously sent to the subsystem
maintainers, most of them were picked up and pushed to you, but there
were a number that fell through the cracks, and new drivers were added
during the merge window, so this series cleans up the rest of the
instances of these markings.
Third time's the charm...
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
Fixed up trivial conflict with the pinctrl pull in pinctrl-sirf.c.
* tag 'driver-core-3.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (54 commits)
misc: remove __dev* attributes.
include: remove __dev* attributes.
Documentation: remove __dev* attributes.
Drivers: misc: remove __dev* attributes.
Drivers: block: remove __dev* attributes.
Drivers: bcma: remove __dev* attributes.
Drivers: char: remove __dev* attributes.
Drivers: clocksource: remove __dev* attributes.
Drivers: ssb: remove __dev* attributes.
Drivers: dma: remove __dev* attributes.
Drivers: gpu: remove __dev* attributes.
Drivers: infinband: remove __dev* attributes.
Drivers: memory: remove __dev* attributes.
Drivers: mmc: remove __dev* attributes.
Drivers: iommu: remove __dev* attributes.
Drivers: power: remove __dev* attributes.
Drivers: message: remove __dev* attributes.
Drivers: macintosh: remove __dev* attributes.
Drivers: mfd: remove __dev* attributes.
pstore: remove __dev* attributes.
...
Diffstat (limited to 'drivers/scsi/csiostor/csio_init.c')
-rw-r--r-- | drivers/scsi/csiostor/csio_init.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/drivers/scsi/csiostor/csio_init.c b/drivers/scsi/csiostor/csio_init.c index fdd408ff80ad..b42cbbd3d92d 100644 --- a/drivers/scsi/csiostor/csio_init.c +++ b/drivers/scsi/csiostor/csio_init.c | |||
@@ -115,9 +115,8 @@ static const struct file_operations csio_mem_debugfs_fops = { | |||
115 | .llseek = default_llseek, | 115 | .llseek = default_llseek, |
116 | }; | 116 | }; |
117 | 117 | ||
118 | static void __devinit | 118 | static void csio_add_debugfs_mem(struct csio_hw *hw, const char *name, |
119 | csio_add_debugfs_mem(struct csio_hw *hw, const char *name, | 119 | unsigned int idx, unsigned int size_mb) |
120 | unsigned int idx, unsigned int size_mb) | ||
121 | { | 120 | { |
122 | struct dentry *de; | 121 | struct dentry *de; |
123 | 122 | ||
@@ -127,8 +126,7 @@ csio_add_debugfs_mem(struct csio_hw *hw, const char *name, | |||
127 | de->d_inode->i_size = size_mb << 20; | 126 | de->d_inode->i_size = size_mb << 20; |
128 | } | 127 | } |
129 | 128 | ||
130 | static int __devinit | 129 | static int csio_setup_debugfs(struct csio_hw *hw) |
131 | csio_setup_debugfs(struct csio_hw *hw) | ||
132 | { | 130 | { |
133 | int i; | 131 | int i; |
134 | 132 | ||
@@ -531,8 +529,7 @@ csio_resource_free(struct csio_hw *hw) | |||
531 | * Allocates HW structure, DMA, memory resources, maps BARS to | 529 | * Allocates HW structure, DMA, memory resources, maps BARS to |
532 | * host memory and initializes HW module. | 530 | * host memory and initializes HW module. |
533 | */ | 531 | */ |
534 | static struct csio_hw * __devinit | 532 | static struct csio_hw *csio_hw_alloc(struct pci_dev *pdev) |
535 | csio_hw_alloc(struct pci_dev *pdev) | ||
536 | { | 533 | { |
537 | struct csio_hw *hw; | 534 | struct csio_hw *hw; |
538 | 535 | ||
@@ -956,8 +953,7 @@ csio_lnode_init_post(struct csio_lnode *ln) | |||
956 | * - Once hardware is ready, initiated scan of the host via | 953 | * - Once hardware is ready, initiated scan of the host via |
957 | * scsi_scan_host. | 954 | * scsi_scan_host. |
958 | */ | 955 | */ |
959 | static int __devinit | 956 | static int csio_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) |
960 | csio_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) | ||
961 | { | 957 | { |
962 | int rv; | 958 | int rv; |
963 | int bars; | 959 | int bars; |
@@ -1036,8 +1032,7 @@ err: | |||
1036 | * | 1032 | * |
1037 | * Used during hotplug operation. | 1033 | * Used during hotplug operation. |
1038 | */ | 1034 | */ |
1039 | static void __devexit | 1035 | static void csio_remove_one(struct pci_dev *pdev) |
1040 | csio_remove_one(struct pci_dev *pdev) | ||
1041 | { | 1036 | { |
1042 | struct csio_hw *hw = pci_get_drvdata(pdev); | 1037 | struct csio_hw *hw = pci_get_drvdata(pdev); |
1043 | int bars = pci_select_bars(pdev, IORESOURCE_MEM); | 1038 | int bars = pci_select_bars(pdev, IORESOURCE_MEM); |