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/saa7706h.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/saa7706h.c')
-rw-r--r-- | drivers/media/radio/saa7706h.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/radio/saa7706h.c b/drivers/media/radio/saa7706h.c index 54db36ccb9ee..06c06cc9ff25 100644 --- a/drivers/media/radio/saa7706h.c +++ b/drivers/media/radio/saa7706h.c | |||
@@ -373,8 +373,8 @@ static const struct v4l2_subdev_ops saa7706h_ops = { | |||
373 | * concerning the addresses: i2c wants 7 bit (without the r/w bit), so '>>1' | 373 | * concerning the addresses: i2c wants 7 bit (without the r/w bit), so '>>1' |
374 | */ | 374 | */ |
375 | 375 | ||
376 | static int __devinit saa7706h_probe(struct i2c_client *client, | 376 | static int saa7706h_probe(struct i2c_client *client, |
377 | const struct i2c_device_id *id) | 377 | const struct i2c_device_id *id) |
378 | { | 378 | { |
379 | struct saa7706h_state *state; | 379 | struct saa7706h_state *state; |
380 | struct v4l2_subdev *sd; | 380 | struct v4l2_subdev *sd; |
@@ -418,7 +418,7 @@ err: | |||
418 | return err; | 418 | return err; |
419 | } | 419 | } |
420 | 420 | ||
421 | static int __devexit saa7706h_remove(struct i2c_client *client) | 421 | static int saa7706h_remove(struct i2c_client *client) |
422 | { | 422 | { |
423 | struct v4l2_subdev *sd = i2c_get_clientdata(client); | 423 | struct v4l2_subdev *sd = i2c_get_clientdata(client); |
424 | 424 | ||
@@ -441,7 +441,7 @@ static struct i2c_driver saa7706h_driver = { | |||
441 | .name = DRIVER_NAME, | 441 | .name = DRIVER_NAME, |
442 | }, | 442 | }, |
443 | .probe = saa7706h_probe, | 443 | .probe = saa7706h_probe, |
444 | .remove = __devexit_p(saa7706h_remove), | 444 | .remove = saa7706h_remove, |
445 | .id_table = saa7706h_id, | 445 | .id_table = saa7706h_id, |
446 | }; | 446 | }; |
447 | 447 | ||