diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 18:14:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:16 -0500 |
commit | 0fe763c570ad2701c830b9e4e53c65ad89c11c32 (patch) | |
tree | 88a648c1cbcda318507d339bf93f1b24af4ff4bf /drivers/auxdisplay/cfag12864bfb.c | |
parent | 8d85fce77edfc22f1d6dbf78e3af723b4b556f3d (diff) |
Drivers: misc: 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/auxdisplay/cfag12864bfb.c')
-rw-r--r-- | drivers/auxdisplay/cfag12864bfb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/auxdisplay/cfag12864bfb.c b/drivers/auxdisplay/cfag12864bfb.c index 5ad3bad2b0a5..d585735430dd 100644 --- a/drivers/auxdisplay/cfag12864bfb.c +++ b/drivers/auxdisplay/cfag12864bfb.c | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #define CFAG12864BFB_NAME "cfag12864bfb" | 38 | #define CFAG12864BFB_NAME "cfag12864bfb" |
39 | 39 | ||
40 | static struct fb_fix_screeninfo cfag12864bfb_fix __devinitdata = { | 40 | static struct fb_fix_screeninfo cfag12864bfb_fix = { |
41 | .id = "cfag12864b", | 41 | .id = "cfag12864b", |
42 | .type = FB_TYPE_PACKED_PIXELS, | 42 | .type = FB_TYPE_PACKED_PIXELS, |
43 | .visual = FB_VISUAL_MONO10, | 43 | .visual = FB_VISUAL_MONO10, |
@@ -48,7 +48,7 @@ static struct fb_fix_screeninfo cfag12864bfb_fix __devinitdata = { | |||
48 | .accel = FB_ACCEL_NONE, | 48 | .accel = FB_ACCEL_NONE, |
49 | }; | 49 | }; |
50 | 50 | ||
51 | static struct fb_var_screeninfo cfag12864bfb_var __devinitdata = { | 51 | static struct fb_var_screeninfo cfag12864bfb_var = { |
52 | .xres = CFAG12864B_WIDTH, | 52 | .xres = CFAG12864B_WIDTH, |
53 | .yres = CFAG12864B_HEIGHT, | 53 | .yres = CFAG12864B_HEIGHT, |
54 | .xres_virtual = CFAG12864B_WIDTH, | 54 | .xres_virtual = CFAG12864B_WIDTH, |
@@ -80,7 +80,7 @@ static struct fb_ops cfag12864bfb_ops = { | |||
80 | .fb_mmap = cfag12864bfb_mmap, | 80 | .fb_mmap = cfag12864bfb_mmap, |
81 | }; | 81 | }; |
82 | 82 | ||
83 | static int __devinit cfag12864bfb_probe(struct platform_device *device) | 83 | static int cfag12864bfb_probe(struct platform_device *device) |
84 | { | 84 | { |
85 | int ret = -EINVAL; | 85 | int ret = -EINVAL; |
86 | struct fb_info *info = framebuffer_alloc(0, &device->dev); | 86 | struct fb_info *info = framebuffer_alloc(0, &device->dev); |
@@ -114,7 +114,7 @@ none: | |||
114 | return ret; | 114 | return ret; |
115 | } | 115 | } |
116 | 116 | ||
117 | static int __devexit cfag12864bfb_remove(struct platform_device *device) | 117 | static int cfag12864bfb_remove(struct platform_device *device) |
118 | { | 118 | { |
119 | struct fb_info *info = platform_get_drvdata(device); | 119 | struct fb_info *info = platform_get_drvdata(device); |
120 | 120 | ||
@@ -128,7 +128,7 @@ static int __devexit cfag12864bfb_remove(struct platform_device *device) | |||
128 | 128 | ||
129 | static struct platform_driver cfag12864bfb_driver = { | 129 | static struct platform_driver cfag12864bfb_driver = { |
130 | .probe = cfag12864bfb_probe, | 130 | .probe = cfag12864bfb_probe, |
131 | .remove = __devexit_p(cfag12864bfb_remove), | 131 | .remove = cfag12864bfb_remove, |
132 | .driver = { | 132 | .driver = { |
133 | .name = CFAG12864BFB_NAME, | 133 | .name = CFAG12864BFB_NAME, |
134 | }, | 134 | }, |