]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mfd/core.h
mfd: Coding style fixes
[linux-2.6-omap-h63xx.git] / include / linux / mfd / core.h
index bb3dd0545928b0e52c6e3e11a326a7f8c48c5a32..b7cbb9968339c413c7c26727b81de5cf0c054b7f 100644 (file)
@@ -1,5 +1,3 @@
-#ifndef MFD_CORE_H
-#define MFD_CORE_H
 /*
  * drivers/mfd/mfd-core.h
  *
@@ -13,6 +11,9 @@
  *
  */
 
+#ifndef MFD_CORE_H
+#define MFD_CORE_H
+
 #include <linux/platform_device.h>
 
 /*
@@ -38,17 +39,15 @@ struct mfd_cell {
        const struct resource   *resources;
 };
 
-static inline struct mfd_cell *
-mfd_get_cell(struct platform_device *pdev)
+static inline struct mfd_cell *mfd_get_cell(struct platform_device *pdev)
 {
        return (struct mfd_cell *)pdev->dev.platform_data;
 }
 
-extern int mfd_add_devices(
-               struct platform_device *parent,
-               const struct mfd_cell *cells, int n_devs,
-               struct resource *mem_base,
-               int irq_base);
+extern int mfd_add_devices(struct platform_device *parent,
+                          const struct mfd_cell *cells, int n_devs,
+                          struct resource *mem_base,
+                          int irq_base);
 
 extern void mfd_remove_devices(struct platform_device *parent);