mfd: Fix section mismatch in da903x

The subdevice removal functions are marked __devexit but are referenced
from the error handling path when probing so are needed even when
__devexit functions are removed.

Signed-off-by: Mark Brown <broonie@sirena.org.uk>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>

authored by

Mark Brown and committed by
Samuel Ortiz
3f874b66 88e75cc3

+2 -2
+2 -2
drivers/mfd/da903x.c
··· 447 447 }; 448 448 MODULE_DEVICE_TABLE(i2c, da903x_id_table); 449 449 450 - static int __devexit __remove_subdev(struct device *dev, void *unused) 450 + static int __remove_subdev(struct device *dev, void *unused) 451 451 { 452 452 platform_device_unregister(to_platform_device(dev)); 453 453 return 0; 454 454 } 455 455 456 - static int __devexit da903x_remove_subdevs(struct da903x_chip *chip) 456 + static int da903x_remove_subdevs(struct da903x_chip *chip) 457 457 { 458 458 return device_for_each_child(chip->dev, NULL, __remove_subdev); 459 459 }