diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 18:15:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:16 -0500 |
commit | 63a29f744fe1c19742039ce7526663a98f172f7e (patch) | |
tree | 52eea88a9e78d0b646c2a549b97f08af29fa9fcb /Documentation/DocBook | |
parent | 0fe763c570ad2701c830b9e4e53c65ad89c11c32 (diff) |
Documentation: 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, __devinitdata,
__devinitconst, and __devexit from the kernel documentation.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/media/v4l/driver.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/DocBook/media/v4l/driver.xml b/Documentation/DocBook/media/v4l/driver.xml index eacafe312cd2..7c6638bacedb 100644 --- a/Documentation/DocBook/media/v4l/driver.xml +++ b/Documentation/DocBook/media/v4l/driver.xml | |||
@@ -116,7 +116,7 @@ my_suspend (struct pci_dev * pci_dev, | |||
116 | return 0; /* a negative value on error, 0 on success. */ | 116 | return 0; /* a negative value on error, 0 on success. */ |
117 | } | 117 | } |
118 | 118 | ||
119 | static void __devexit | 119 | static void |
120 | my_remove (struct pci_dev * pci_dev) | 120 | my_remove (struct pci_dev * pci_dev) |
121 | { | 121 | { |
122 | my_device *my = pci_get_drvdata (pci_dev); | 122 | my_device *my = pci_get_drvdata (pci_dev); |
@@ -124,7 +124,7 @@ my_remove (struct pci_dev * pci_dev) | |||
124 | /* Describe me. */ | 124 | /* Describe me. */ |
125 | } | 125 | } |
126 | 126 | ||
127 | static int __devinit | 127 | static int |
128 | my_probe (struct pci_dev * pci_dev, | 128 | my_probe (struct pci_dev * pci_dev, |
129 | const struct pci_device_id * pci_id) | 129 | const struct pci_device_id * pci_id) |
130 | { | 130 | { |
@@ -157,7 +157,7 @@ my_pci_driver = { | |||
157 | .id_table = my_pci_device_ids, | 157 | .id_table = my_pci_device_ids, |
158 | 158 | ||
159 | .probe = my_probe, | 159 | .probe = my_probe, |
160 | .remove = __devexit_p (my_remove), | 160 | .remove = my_remove, |
161 | 161 | ||
162 | /* Power management functions. */ | 162 | /* Power management functions. */ |
163 | .suspend = my_suspend, | 163 | .suspend = my_suspend, |