aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm8994-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/wm8994-core.c')
-rw-r--r--drivers/mfd/wm8994-core.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c
index 8fefc961ec06..c7f62ac544ad 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
377static const __devinitconst struct reg_default wm8994_revc_patch[] = { 377static 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
384static const __devinitconst struct reg_default wm8958_reva_patch[] = { 384static 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
391static const __devinitconst struct reg_default wm1811_reva_patch[] = { 391static 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 */
402static __devinit int wm8994_device_init(struct wm8994 *wm8994, int irq) 402static int wm8994_device_init(struct wm8994 *wm8994, int irq)
403{ 403{
404 struct wm8994_pdata *pdata = wm8994->dev->platform_data; 404 struct wm8994_pdata *pdata = wm8994->dev->platform_data;
405 struct regmap_config *regmap_config; 405 struct regmap_config *regmap_config;
@@ -671,7 +671,7 @@ err:
671 return ret; 671 return ret;
672} 672}
673 673
674static __devexit void wm8994_device_exit(struct wm8994 *wm8994) 674static void wm8994_device_exit(struct wm8994 *wm8994)
675{ 675{
676 pm_runtime_disable(wm8994->dev); 676 pm_runtime_disable(wm8994->dev);
677 mfd_remove_devices(wm8994->dev); 677 mfd_remove_devices(wm8994->dev);
@@ -689,7 +689,7 @@ static const struct of_device_id wm8994_of_match[] = {
689}; 689};
690MODULE_DEVICE_TABLE(of, wm8994_of_match); 690MODULE_DEVICE_TABLE(of, wm8994_of_match);
691 691
692static __devinit int wm8994_i2c_probe(struct i2c_client *i2c, 692static int wm8994_i2c_probe(struct i2c_client *i2c,
693 const struct i2c_device_id *id) 693 const struct i2c_device_id *id)
694{ 694{
695 struct wm8994 *wm8994; 695 struct wm8994 *wm8994;
@@ -715,7 +715,7 @@ static __devinit int wm8994_i2c_probe(struct i2c_client *i2c,
715 return wm8994_device_init(wm8994, i2c->irq); 715 return wm8994_device_init(wm8994, i2c->irq);
716} 716}
717 717
718static __devexit int wm8994_i2c_remove(struct i2c_client *i2c) 718static int wm8994_i2c_remove(struct i2c_client *i2c)
719{ 719{
720 struct wm8994 *wm8994 = i2c_get_clientdata(i2c); 720 struct wm8994 *wm8994 = i2c_get_clientdata(i2c);
721 721
@@ -744,7 +744,7 @@ static struct i2c_driver wm8994_i2c_driver = {
744 .of_match_table = wm8994_of_match, 744 .of_match_table = wm8994_of_match,
745 }, 745 },
746 .probe = wm8994_i2c_probe, 746 .probe = wm8994_i2c_probe,
747 .remove = __devexit_p(wm8994_i2c_remove), 747 .remove = wm8994_i2c_remove,
748 .id_table = wm8994_i2c_id, 748 .id_table = wm8994_i2c_id,
749}; 749};
750 750