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/radio/radio-tea5764.c | |
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/radio/radio-tea5764.c')
-rw-r--r-- | drivers/media/radio/radio-tea5764.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/radio/radio-tea5764.c b/drivers/media/radio/radio-tea5764.c index 36aec575e0ec..1978516af67e 100644 --- a/drivers/media/radio/radio-tea5764.c +++ b/drivers/media/radio/radio-tea5764.c | |||
@@ -493,8 +493,8 @@ static struct video_device tea5764_radio_template = { | |||
493 | }; | 493 | }; |
494 | 494 | ||
495 | /* I2C probe: check if the device exists and register with v4l if it is */ | 495 | /* I2C probe: check if the device exists and register with v4l if it is */ |
496 | static int __devinit tea5764_i2c_probe(struct i2c_client *client, | 496 | static int tea5764_i2c_probe(struct i2c_client *client, |
497 | const struct i2c_device_id *id) | 497 | const struct i2c_device_id *id) |
498 | { | 498 | { |
499 | struct tea5764_device *radio; | 499 | struct tea5764_device *radio; |
500 | struct tea5764_regs *r; | 500 | struct tea5764_regs *r; |
@@ -552,7 +552,7 @@ errfr: | |||
552 | return ret; | 552 | return ret; |
553 | } | 553 | } |
554 | 554 | ||
555 | static int __devexit tea5764_i2c_remove(struct i2c_client *client) | 555 | static int tea5764_i2c_remove(struct i2c_client *client) |
556 | { | 556 | { |
557 | struct tea5764_device *radio = i2c_get_clientdata(client); | 557 | struct tea5764_device *radio = i2c_get_clientdata(client); |
558 | 558 | ||
@@ -578,7 +578,7 @@ static struct i2c_driver tea5764_i2c_driver = { | |||
578 | .owner = THIS_MODULE, | 578 | .owner = THIS_MODULE, |
579 | }, | 579 | }, |
580 | .probe = tea5764_i2c_probe, | 580 | .probe = tea5764_i2c_probe, |
581 | .remove = __devexit_p(tea5764_i2c_remove), | 581 | .remove = tea5764_i2c_remove, |
582 | .id_table = tea5764_id, | 582 | .id_table = tea5764_id, |
583 | }; | 583 | }; |
584 | 584 | ||