diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:07:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:01 -0500 |
commit | 48c68c4f1b542444f175a9e136febcecf3e704d8 (patch) | |
tree | d28f4f3b42643990c2908d27e9caf120f6234b73 /drivers/video/msm | |
parent | 8590dbc79a0ff5d7ab16b2b1743684c241ae3c65 (diff) |
Drivers: video: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/msm')
-rw-r--r-- | drivers/video/msm/mddi.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/video/msm/mddi.c b/drivers/video/msm/mddi.c index 35ac9e8bee63..e0f8011a3c4b 100644 --- a/drivers/video/msm/mddi.c +++ b/drivers/video/msm/mddi.c | |||
@@ -417,7 +417,7 @@ static void mddi_resume(struct msm_mddi_client_data *cdata) | |||
417 | mddi_set_auto_hibernate(&mddi->client_data, 1); | 417 | mddi_set_auto_hibernate(&mddi->client_data, 1); |
418 | } | 418 | } |
419 | 419 | ||
420 | static int __devinit mddi_get_client_caps(struct mddi_info *mddi) | 420 | static int mddi_get_client_caps(struct mddi_info *mddi) |
421 | { | 421 | { |
422 | int i, j; | 422 | int i, j; |
423 | 423 | ||
@@ -619,9 +619,8 @@ uint32_t mddi_remote_read(struct msm_mddi_client_data *cdata, uint32_t reg) | |||
619 | 619 | ||
620 | static struct mddi_info mddi_info[2]; | 620 | static struct mddi_info mddi_info[2]; |
621 | 621 | ||
622 | static int __devinit mddi_clk_setup(struct platform_device *pdev, | 622 | static int mddi_clk_setup(struct platform_device *pdev, struct mddi_info *mddi, |
623 | struct mddi_info *mddi, | 623 | unsigned long clk_rate) |
624 | unsigned long clk_rate) | ||
625 | { | 624 | { |
626 | int ret; | 625 | int ret; |
627 | 626 | ||
@@ -664,7 +663,7 @@ static int __init mddi_rev_data_setup(struct mddi_info *mddi) | |||
664 | return 0; | 663 | return 0; |
665 | } | 664 | } |
666 | 665 | ||
667 | static int __devinit mddi_probe(struct platform_device *pdev) | 666 | static int mddi_probe(struct platform_device *pdev) |
668 | { | 667 | { |
669 | struct msm_mddi_platform_data *pdata = pdev->dev.platform_data; | 668 | struct msm_mddi_platform_data *pdata = pdev->dev.platform_data; |
670 | struct mddi_info *mddi = &mddi_info[pdev->id]; | 669 | struct mddi_info *mddi = &mddi_info[pdev->id]; |