diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-07-28 20:29:09 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@openedhand.com> | 2008-07-28 20:29:09 +0400 |
commit | 7f71ac9374fec066e428892a68db158946cee1fb (patch) | |
tree | 56c0ef9140380cfa0ecaff155c6f670f12f7733e /include | |
parent | 96ee41993b5b25ee0fbde2d4dcaac1f8c5ef5cc4 (diff) | |
download | linux-7f71ac9374fec066e428892a68db158946cee1fb.tar.xz |
mfd: Coding style fixes
Fix some coding style fixes in the mfd core driver.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/core.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h index bb3dd0545928..b7cbb9968339 100644 --- a/include/linux/mfd/core.h +++ b/include/linux/mfd/core.h @@ -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); |