diff options
Diffstat (limited to 'drivers/sbus/char/bbc_i2c.c')
-rw-r--r-- | drivers/sbus/char/bbc_i2c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/sbus/char/bbc_i2c.c b/drivers/sbus/char/bbc_i2c.c index 542668292900..1a9d1e3ce64c 100644 --- a/drivers/sbus/char/bbc_i2c.c +++ b/drivers/sbus/char/bbc_i2c.c | |||
@@ -355,7 +355,7 @@ fail: | |||
355 | extern int bbc_envctrl_init(struct bbc_i2c_bus *bp); | 355 | extern int bbc_envctrl_init(struct bbc_i2c_bus *bp); |
356 | extern void bbc_envctrl_cleanup(struct bbc_i2c_bus *bp); | 356 | extern void bbc_envctrl_cleanup(struct bbc_i2c_bus *bp); |
357 | 357 | ||
358 | static int __devinit bbc_i2c_probe(struct platform_device *op) | 358 | static int bbc_i2c_probe(struct platform_device *op) |
359 | { | 359 | { |
360 | struct bbc_i2c_bus *bp; | 360 | struct bbc_i2c_bus *bp; |
361 | int err, index = 0; | 361 | int err, index = 0; |
@@ -379,7 +379,7 @@ static int __devinit bbc_i2c_probe(struct platform_device *op) | |||
379 | return err; | 379 | return err; |
380 | } | 380 | } |
381 | 381 | ||
382 | static int __devexit bbc_i2c_remove(struct platform_device *op) | 382 | static int bbc_i2c_remove(struct platform_device *op) |
383 | { | 383 | { |
384 | struct bbc_i2c_bus *bp = dev_get_drvdata(&op->dev); | 384 | struct bbc_i2c_bus *bp = dev_get_drvdata(&op->dev); |
385 | 385 | ||
@@ -413,7 +413,7 @@ static struct platform_driver bbc_i2c_driver = { | |||
413 | .of_match_table = bbc_i2c_match, | 413 | .of_match_table = bbc_i2c_match, |
414 | }, | 414 | }, |
415 | .probe = bbc_i2c_probe, | 415 | .probe = bbc_i2c_probe, |
416 | .remove = __devexit_p(bbc_i2c_remove), | 416 | .remove = bbc_i2c_remove, |
417 | }; | 417 | }; |
418 | 418 | ||
419 | module_platform_driver(bbc_i2c_driver); | 419 | module_platform_driver(bbc_i2c_driver); |