diff options
Diffstat (limited to 'drivers/mfd/wm8994-core.c')
-rw-r--r-- | drivers/mfd/wm8994-core.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c index 45a20c573aa3..bcb226ff9d2b 100644 --- a/drivers/mfd/wm8994-core.c +++ b/drivers/mfd/wm8994-core.c | |||
@@ -374,21 +374,21 @@ static int wm8994_ldo_in_use(struct wm8994_pdata *pdata, int ldo) | |||
374 | } | 374 | } |
375 | #endif | 375 | #endif |
376 | 376 | ||
377 | static const __devinitconst struct reg_default wm8994_revc_patch[] = { | 377 | static const struct reg_default wm8994_revc_patch[] = { |
378 | { 0x102, 0x3 }, | 378 | { 0x102, 0x3 }, |
379 | { 0x56, 0x3 }, | 379 | { 0x56, 0x3 }, |
380 | { 0x817, 0x0 }, | 380 | { 0x817, 0x0 }, |
381 | { 0x102, 0x0 }, | 381 | { 0x102, 0x0 }, |
382 | }; | 382 | }; |
383 | 383 | ||
384 | static const __devinitconst struct reg_default wm8958_reva_patch[] = { | 384 | static const struct reg_default wm8958_reva_patch[] = { |
385 | { 0x102, 0x3 }, | 385 | { 0x102, 0x3 }, |
386 | { 0xcb, 0x81 }, | 386 | { 0xcb, 0x81 }, |
387 | { 0x817, 0x0 }, | 387 | { 0x817, 0x0 }, |
388 | { 0x102, 0x0 }, | 388 | { 0x102, 0x0 }, |
389 | }; | 389 | }; |
390 | 390 | ||
391 | static const __devinitconst struct reg_default wm1811_reva_patch[] = { | 391 | static const struct reg_default wm1811_reva_patch[] = { |
392 | { 0x102, 0x3 }, | 392 | { 0x102, 0x3 }, |
393 | { 0x56, 0xc07 }, | 393 | { 0x56, 0xc07 }, |
394 | { 0x5d, 0x7e }, | 394 | { 0x5d, 0x7e }, |
@@ -399,7 +399,7 @@ static const __devinitconst struct reg_default wm1811_reva_patch[] = { | |||
399 | /* | 399 | /* |
400 | * Instantiate the generic non-control parts of the device. | 400 | * Instantiate the generic non-control parts of the device. |
401 | */ | 401 | */ |
402 | static __devinit int wm8994_device_init(struct wm8994 *wm8994, int irq) | 402 | static int wm8994_device_init(struct wm8994 *wm8994, int irq) |
403 | { | 403 | { |
404 | struct wm8994_pdata *pdata; | 404 | struct wm8994_pdata *pdata; |
405 | struct regmap_config *regmap_config; | 405 | struct regmap_config *regmap_config; |
@@ -674,7 +674,7 @@ err: | |||
674 | return ret; | 674 | return ret; |
675 | } | 675 | } |
676 | 676 | ||
677 | static __devexit void wm8994_device_exit(struct wm8994 *wm8994) | 677 | static void wm8994_device_exit(struct wm8994 *wm8994) |
678 | { | 678 | { |
679 | pm_runtime_disable(wm8994->dev); | 679 | pm_runtime_disable(wm8994->dev); |
680 | mfd_remove_devices(wm8994->dev); | 680 | mfd_remove_devices(wm8994->dev); |
@@ -692,7 +692,7 @@ static const struct of_device_id wm8994_of_match[] = { | |||
692 | }; | 692 | }; |
693 | MODULE_DEVICE_TABLE(of, wm8994_of_match); | 693 | MODULE_DEVICE_TABLE(of, wm8994_of_match); |
694 | 694 | ||
695 | static __devinit int wm8994_i2c_probe(struct i2c_client *i2c, | 695 | static int wm8994_i2c_probe(struct i2c_client *i2c, |
696 | const struct i2c_device_id *id) | 696 | const struct i2c_device_id *id) |
697 | { | 697 | { |
698 | struct wm8994 *wm8994; | 698 | struct wm8994 *wm8994; |
@@ -718,7 +718,7 @@ static __devinit int wm8994_i2c_probe(struct i2c_client *i2c, | |||
718 | return wm8994_device_init(wm8994, i2c->irq); | 718 | return wm8994_device_init(wm8994, i2c->irq); |
719 | } | 719 | } |
720 | 720 | ||
721 | static __devexit int wm8994_i2c_remove(struct i2c_client *i2c) | 721 | static int wm8994_i2c_remove(struct i2c_client *i2c) |
722 | { | 722 | { |
723 | struct wm8994 *wm8994 = i2c_get_clientdata(i2c); | 723 | struct wm8994 *wm8994 = i2c_get_clientdata(i2c); |
724 | 724 | ||
@@ -747,7 +747,7 @@ static struct i2c_driver wm8994_i2c_driver = { | |||
747 | .of_match_table = wm8994_of_match, | 747 | .of_match_table = wm8994_of_match, |
748 | }, | 748 | }, |
749 | .probe = wm8994_i2c_probe, | 749 | .probe = wm8994_i2c_probe, |
750 | .remove = __devexit_p(wm8994_i2c_remove), | 750 | .remove = wm8994_i2c_remove, |
751 | .id_table = wm8994_i2c_id, | 751 | .id_table = wm8994_i2c_id, |
752 | }; | 752 | }; |
753 | 753 | ||