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/spi/spi-summary | |
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/spi/spi-summary')
-rw-r--r-- | Documentation/spi/spi-summary | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/spi/spi-summary b/Documentation/spi/spi-summary index 7312ec14dd89..2331eb214146 100644 --- a/Documentation/spi/spi-summary +++ b/Documentation/spi/spi-summary | |||
@@ -345,7 +345,7 @@ SPI protocol drivers somewhat resemble platform device drivers: | |||
345 | }, | 345 | }, |
346 | 346 | ||
347 | .probe = CHIP_probe, | 347 | .probe = CHIP_probe, |
348 | .remove = __devexit_p(CHIP_remove), | 348 | .remove = CHIP_remove, |
349 | .suspend = CHIP_suspend, | 349 | .suspend = CHIP_suspend, |
350 | .resume = CHIP_resume, | 350 | .resume = CHIP_resume, |
351 | }; | 351 | }; |
@@ -355,7 +355,7 @@ device whose board_info gave a modalias of "CHIP". Your probe() code | |||
355 | might look like this unless you're creating a device which is managing | 355 | might look like this unless you're creating a device which is managing |
356 | a bus (appearing under /sys/class/spi_master). | 356 | a bus (appearing under /sys/class/spi_master). |
357 | 357 | ||
358 | static int __devinit CHIP_probe(struct spi_device *spi) | 358 | static int CHIP_probe(struct spi_device *spi) |
359 | { | 359 | { |
360 | struct CHIP *chip; | 360 | struct CHIP *chip; |
361 | struct CHIP_platform_data *pdata; | 361 | struct CHIP_platform_data *pdata; |