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/video4linux | |
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/video4linux')
-rw-r--r-- | Documentation/video4linux/v4l2-framework.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/video4linux/v4l2-framework.txt b/Documentation/video4linux/v4l2-framework.txt index 32bfe926e8d7..b89567ad04b7 100644 --- a/Documentation/video4linux/v4l2-framework.txt +++ b/Documentation/video4linux/v4l2-framework.txt | |||
@@ -174,8 +174,7 @@ The recommended approach is as follows: | |||
174 | 174 | ||
175 | static atomic_t drv_instance = ATOMIC_INIT(0); | 175 | static atomic_t drv_instance = ATOMIC_INIT(0); |
176 | 176 | ||
177 | static int __devinit drv_probe(struct pci_dev *pdev, | 177 | static int drv_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id) |
178 | const struct pci_device_id *pci_id) | ||
179 | { | 178 | { |
180 | ... | 179 | ... |
181 | state->instance = atomic_inc_return(&drv_instance) - 1; | 180 | state->instance = atomic_inc_return(&drv_instance) - 1; |