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/aty/mach64_ct.c | |
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/aty/mach64_ct.c')
-rw-r--r-- | drivers/video/aty/mach64_ct.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/aty/mach64_ct.c b/drivers/video/aty/mach64_ct.c index 2745b8539485..51f29d627ceb 100644 --- a/drivers/video/aty/mach64_ct.c +++ b/drivers/video/aty/mach64_ct.c | |||
@@ -373,8 +373,7 @@ void aty_set_pll_ct(const struct fb_info *info, const union aty_pll *pll) | |||
373 | #endif | 373 | #endif |
374 | } | 374 | } |
375 | 375 | ||
376 | static void __devinit aty_get_pll_ct(const struct fb_info *info, | 376 | static void aty_get_pll_ct(const struct fb_info *info, union aty_pll *pll) |
377 | union aty_pll *pll) | ||
378 | { | 377 | { |
379 | struct atyfb_par *par = (struct atyfb_par *) info->par; | 378 | struct atyfb_par *par = (struct atyfb_par *) info->par; |
380 | u8 tmp, clock; | 379 | u8 tmp, clock; |
@@ -397,8 +396,7 @@ static void __devinit aty_get_pll_ct(const struct fb_info *info, | |||
397 | } | 396 | } |
398 | } | 397 | } |
399 | 398 | ||
400 | static int __devinit aty_init_pll_ct(const struct fb_info *info, | 399 | static int aty_init_pll_ct(const struct fb_info *info, union aty_pll *pll) |
401 | union aty_pll *pll) | ||
402 | { | 400 | { |
403 | struct atyfb_par *par = (struct atyfb_par *) info->par; | 401 | struct atyfb_par *par = (struct atyfb_par *) info->par; |
404 | u8 mpost_div, xpost_div, sclk_post_div_real; | 402 | u8 mpost_div, xpost_div, sclk_post_div_real; |