diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:17:53 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:02 -0500 |
commit | 4c62e9764ab403d42f9b8871b1241fe7812f19d4 (patch) | |
tree | b4ae1ce3993ebf1d64660ba16362f9ef3de73074 /drivers/media/mmc | |
parent | c571b211a70bcb04249be5cb7338f95d2ec8100f (diff) |
Drivers: media: 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 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: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/mmc')
-rw-r--r-- | drivers/media/mmc/siano/smssdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/mmc/siano/smssdio.c b/drivers/media/mmc/siano/smssdio.c index d6f3f100699a..15d34935e00b 100644 --- a/drivers/media/mmc/siano/smssdio.c +++ b/drivers/media/mmc/siano/smssdio.c | |||
@@ -50,7 +50,7 @@ | |||
50 | #define SMSSDIO_INT 0x04 | 50 | #define SMSSDIO_INT 0x04 |
51 | #define SMSSDIO_BLOCK_SIZE 128 | 51 | #define SMSSDIO_BLOCK_SIZE 128 |
52 | 52 | ||
53 | static const struct sdio_device_id smssdio_ids[] __devinitconst = { | 53 | static const struct sdio_device_id smssdio_ids[] = { |
54 | {SDIO_DEVICE(SDIO_VENDOR_ID_SIANO, SDIO_DEVICE_ID_SIANO_STELLAR), | 54 | {SDIO_DEVICE(SDIO_VENDOR_ID_SIANO, SDIO_DEVICE_ID_SIANO_STELLAR), |
55 | .driver_data = SMS1XXX_BOARD_SIANO_STELLAR}, | 55 | .driver_data = SMS1XXX_BOARD_SIANO_STELLAR}, |
56 | {SDIO_DEVICE(SDIO_VENDOR_ID_SIANO, SDIO_DEVICE_ID_SIANO_NOVA_A0), | 56 | {SDIO_DEVICE(SDIO_VENDOR_ID_SIANO, SDIO_DEVICE_ID_SIANO_NOVA_A0), |
@@ -224,7 +224,7 @@ static void smssdio_interrupt(struct sdio_func *func) | |||
224 | smscore_onresponse(smsdev->coredev, cb); | 224 | smscore_onresponse(smsdev->coredev, cb); |
225 | } | 225 | } |
226 | 226 | ||
227 | static int __devinit smssdio_probe(struct sdio_func *func, | 227 | static int smssdio_probe(struct sdio_func *func, |
228 | const struct sdio_device_id *id) | 228 | const struct sdio_device_id *id) |
229 | { | 229 | { |
230 | int ret; | 230 | int ret; |