diff options
Diffstat (limited to 'drivers/sbus/char/display7seg.c')
-rw-r--r-- | drivers/sbus/char/display7seg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c index b160073e54b6..e85c803b30cd 100644 --- a/drivers/sbus/char/display7seg.c +++ b/drivers/sbus/char/display7seg.c | |||
@@ -171,7 +171,7 @@ static struct miscdevice d7s_miscdev = { | |||
171 | .fops = &d7s_fops | 171 | .fops = &d7s_fops |
172 | }; | 172 | }; |
173 | 173 | ||
174 | static int __devinit d7s_probe(struct platform_device *op) | 174 | static int d7s_probe(struct platform_device *op) |
175 | { | 175 | { |
176 | struct device_node *opts; | 176 | struct device_node *opts; |
177 | int err = -EINVAL; | 177 | int err = -EINVAL; |
@@ -236,7 +236,7 @@ out_free: | |||
236 | goto out; | 236 | goto out; |
237 | } | 237 | } |
238 | 238 | ||
239 | static int __devexit d7s_remove(struct platform_device *op) | 239 | static int d7s_remove(struct platform_device *op) |
240 | { | 240 | { |
241 | struct d7s *p = dev_get_drvdata(&op->dev); | 241 | struct d7s *p = dev_get_drvdata(&op->dev); |
242 | u8 regs = readb(p->regs); | 242 | u8 regs = readb(p->regs); |
@@ -272,7 +272,7 @@ static struct platform_driver d7s_driver = { | |||
272 | .of_match_table = d7s_match, | 272 | .of_match_table = d7s_match, |
273 | }, | 273 | }, |
274 | .probe = d7s_probe, | 274 | .probe = d7s_probe, |
275 | .remove = __devexit_p(d7s_remove), | 275 | .remove = d7s_remove, |
276 | }; | 276 | }; |
277 | 277 | ||
278 | module_platform_driver(d7s_driver); | 278 | module_platform_driver(d7s_driver); |