Title: [8763] trunk: mfd: section cleanup of 88pm860x driver
- Revision
- 8763
- Author
- vapier
- Date
- 2010-05-22 22:20:18 -0400 (Sat, 22 May 2010)
Log Message
mfd: section cleanup of 88pm860x driver
From: Henrik Kretzschmar <[email protected]>
Modified Paths
Diff
Modified: trunk/drivers/mfd/88pm860x-core.c (8762 => 8763)
--- trunk/drivers/mfd/88pm860x-core.c 2010-05-23 02:10:54 UTC (rev 8762)
+++ trunk/drivers/mfd/88pm860x-core.c 2010-05-23 02:20:18 UTC (rev 8763)
@@ -564,7 +564,7 @@
return ret;
}
-static void __devexit device_irq_exit(struct pm860x_chip *chip)
+static void device_irq_exit(struct pm860x_chip *chip)
{
if (chip->core_irq)
free_irq(chip->core_irq, chip);
@@ -701,7 +701,7 @@
return;
}
-int pm860x_device_init(struct pm860x_chip *chip,
+int __devinit pm860x_device_init(struct pm860x_chip *chip,
struct pm860x_platform_data *pdata)
{
chip->core_irq = 0;
@@ -729,7 +729,7 @@
return 0;
}
-void pm860x_device_exit(struct pm860x_chip *chip)
+void __devexit pm860x_device_exit(struct pm860x_chip *chip)
{
device_irq_exit(chip);
mfd_remove_devices(chip->dev);
Modified: trunk/include/linux/mfd/88pm860x.h (8762 => 8763)
--- trunk/include/linux/mfd/88pm860x.h 2010-05-23 02:10:54 UTC (rev 8762)
+++ trunk/include/linux/mfd/88pm860x.h 2010-05-23 02:20:18 UTC (rev 8763)
@@ -369,7 +369,7 @@
unsigned char);
extern int pm860x_device_init(struct pm860x_chip *chip,
- struct pm860x_platform_data *pdata);
-extern void pm860x_device_exit(struct pm860x_chip *chip);
+ struct pm860x_platform_data *pdata) __devinit ;
+extern void pm860x_device_exit(struct pm860x_chip *chip) __devexit ;
#endif /* __LINUX_MFD_88PM860X_H */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits