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/riva/rivafb-i2c.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/riva/rivafb-i2c.c')
-rw-r--r-- | drivers/video/riva/rivafb-i2c.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/video/riva/rivafb-i2c.c b/drivers/video/riva/rivafb-i2c.c index 167400e2a182..6a183375ced1 100644 --- a/drivers/video/riva/rivafb-i2c.c +++ b/drivers/video/riva/rivafb-i2c.c | |||
@@ -86,9 +86,8 @@ static int riva_gpio_getsda(void* data) | |||
86 | return val; | 86 | return val; |
87 | } | 87 | } |
88 | 88 | ||
89 | static int __devinit riva_setup_i2c_bus(struct riva_i2c_chan *chan, | 89 | static int riva_setup_i2c_bus(struct riva_i2c_chan *chan, const char *name, |
90 | const char *name, | 90 | unsigned int i2c_class) |
91 | unsigned int i2c_class) | ||
92 | { | 91 | { |
93 | int rc; | 92 | int rc; |
94 | 93 | ||
@@ -124,7 +123,7 @@ static int __devinit riva_setup_i2c_bus(struct riva_i2c_chan *chan, | |||
124 | return rc; | 123 | return rc; |
125 | } | 124 | } |
126 | 125 | ||
127 | void __devinit riva_create_i2c_busses(struct riva_par *par) | 126 | void riva_create_i2c_busses(struct riva_par *par) |
128 | { | 127 | { |
129 | par->chan[0].par = par; | 128 | par->chan[0].par = par; |
130 | par->chan[1].par = par; | 129 | par->chan[1].par = par; |
@@ -150,7 +149,7 @@ void riva_delete_i2c_busses(struct riva_par *par) | |||
150 | } | 149 | } |
151 | } | 150 | } |
152 | 151 | ||
153 | int __devinit riva_probe_i2c_connector(struct riva_par *par, int conn, u8 **out_edid) | 152 | int riva_probe_i2c_connector(struct riva_par *par, int conn, u8 **out_edid) |
154 | { | 153 | { |
155 | u8 *edid = NULL; | 154 | u8 *edid = NULL; |
156 | 155 | ||