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/bfin_adv7393fb.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/bfin_adv7393fb.c')
-rw-r--r-- | drivers/video/bfin_adv7393fb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/bfin_adv7393fb.c b/drivers/video/bfin_adv7393fb.c index d0f121bd8b25..8d411a3c9966 100644 --- a/drivers/video/bfin_adv7393fb.c +++ b/drivers/video/bfin_adv7393fb.c | |||
@@ -88,7 +88,7 @@ static struct fb_var_screeninfo bfin_adv7393_fb_defined = { | |||
88 | .transp = {0, 0, 0}, | 88 | .transp = {0, 0, 0}, |
89 | }; | 89 | }; |
90 | 90 | ||
91 | static struct fb_fix_screeninfo bfin_adv7393_fb_fix __devinitdata = { | 91 | static struct fb_fix_screeninfo bfin_adv7393_fb_fix = { |
92 | .id = "BFIN ADV7393", | 92 | .id = "BFIN ADV7393", |
93 | .smem_len = 720 * 480 * 2, | 93 | .smem_len = 720 * 480 * 2, |
94 | .type = FB_TYPE_PACKED_PIXELS, | 94 | .type = FB_TYPE_PACKED_PIXELS, |
@@ -368,8 +368,8 @@ adv7393_write_proc(struct file *file, const char __user * buffer, | |||
368 | return count; | 368 | return count; |
369 | } | 369 | } |
370 | 370 | ||
371 | static int __devinit bfin_adv7393_fb_probe(struct i2c_client *client, | 371 | static int bfin_adv7393_fb_probe(struct i2c_client *client, |
372 | const struct i2c_device_id *id) | 372 | const struct i2c_device_id *id) |
373 | { | 373 | { |
374 | int ret = 0; | 374 | int ret = 0; |
375 | struct proc_dir_entry *entry; | 375 | struct proc_dir_entry *entry; |
@@ -719,7 +719,7 @@ static int bfin_adv7393_fb_setcolreg(u_int regno, u_int red, u_int green, | |||
719 | return 0; | 719 | return 0; |
720 | } | 720 | } |
721 | 721 | ||
722 | static int __devexit bfin_adv7393_fb_remove(struct i2c_client *client) | 722 | static int bfin_adv7393_fb_remove(struct i2c_client *client) |
723 | { | 723 | { |
724 | struct adv7393fb_device *fbdev = i2c_get_clientdata(client); | 724 | struct adv7393fb_device *fbdev = i2c_get_clientdata(client); |
725 | 725 | ||
@@ -794,7 +794,7 @@ static struct i2c_driver bfin_adv7393_fb_driver = { | |||
794 | #endif | 794 | #endif |
795 | }, | 795 | }, |
796 | .probe = bfin_adv7393_fb_probe, | 796 | .probe = bfin_adv7393_fb_probe, |
797 | .remove = __devexit_p(bfin_adv7393_fb_remove), | 797 | .remove = bfin_adv7393_fb_remove, |
798 | .id_table = bfin_adv7393_id, | 798 | .id_table = bfin_adv7393_id, |
799 | }; | 799 | }; |
800 | 800 | ||