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/platform/s5p-tv/sii9234_drv.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/platform/s5p-tv/sii9234_drv.c')
-rw-r--r-- | drivers/media/platform/s5p-tv/sii9234_drv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/platform/s5p-tv/sii9234_drv.c b/drivers/media/platform/s5p-tv/sii9234_drv.c index 716d4846f8bd..49191aac9634 100644 --- a/drivers/media/platform/s5p-tv/sii9234_drv.c +++ b/drivers/media/platform/s5p-tv/sii9234_drv.c | |||
@@ -315,8 +315,8 @@ static const struct v4l2_subdev_ops sii9234_ops = { | |||
315 | .video = &sii9234_video_ops, | 315 | .video = &sii9234_video_ops, |
316 | }; | 316 | }; |
317 | 317 | ||
318 | static int __devinit sii9234_probe(struct i2c_client *client, | 318 | static int sii9234_probe(struct i2c_client *client, |
319 | const struct i2c_device_id *id) | 319 | const struct i2c_device_id *id) |
320 | { | 320 | { |
321 | struct device *dev = &client->dev; | 321 | struct device *dev = &client->dev; |
322 | struct sii9234_platform_data *pdata = dev->platform_data; | 322 | struct sii9234_platform_data *pdata = dev->platform_data; |
@@ -378,7 +378,7 @@ fail: | |||
378 | return ret; | 378 | return ret; |
379 | } | 379 | } |
380 | 380 | ||
381 | static int __devexit sii9234_remove(struct i2c_client *client) | 381 | static int sii9234_remove(struct i2c_client *client) |
382 | { | 382 | { |
383 | struct device *dev = &client->dev; | 383 | struct device *dev = &client->dev; |
384 | struct v4l2_subdev *sd = i2c_get_clientdata(client); | 384 | struct v4l2_subdev *sd = i2c_get_clientdata(client); |
@@ -406,7 +406,7 @@ static struct i2c_driver sii9234_driver = { | |||
406 | .pm = &sii9234_pm_ops, | 406 | .pm = &sii9234_pm_ops, |
407 | }, | 407 | }, |
408 | .probe = sii9234_probe, | 408 | .probe = sii9234_probe, |
409 | .remove = __devexit_p(sii9234_remove), | 409 | .remove = sii9234_remove, |
410 | .id_table = sii9234_id, | 410 | .id_table = sii9234_id, |
411 | }; | 411 | }; |
412 | 412 | ||