summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorRobin Gong <B38343@freescale.com>2011-12-28 11:43:08 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:19:36 +0800
commit3f1ac3d6297353d13ddd27079e7a08b5426df966 (patch)
treef1da59a632de4f2a5c823ed51ce3ce255898c783 /drivers/mfd
parente407747d719261e40db0740bd523f84546577ef4 (diff)
ENGR00171001-2 MX6Q PFUZE100: fix build warnings
fix build warnings on pfuze driver: arch/arm/mach-mx6/mx6q_sabreauto_pmic_pfuze100.c:388: warning: initialization from incompatible pointer type drivers/mfd/pfuze-core.c:523: warning: initialization from incompatible pointer type drivers/mfd/pfuze-core.c:412: warning: 'pfuze_add_subdevice' defined but not used Signed-off-by: Robin Gong <B38343@freescale.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/pfuze-core.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mfd/pfuze-core.c b/drivers/mfd/pfuze-core.c
index ae3a37e24025..5efc5525fdc9 100644
--- a/drivers/mfd/pfuze-core.c
+++ b/drivers/mfd/pfuze-core.c
@@ -409,11 +409,6 @@ static int pfuze_add_subdevice_pdata(struct mc_pfuze *mc_pfuze,
0);
}
-static int pfuze_add_subdevice(struct mc_pfuze *mc_pfuze, const char *format)
-{
- return pfuze_add_subdevice_pdata(mc_pfuze, format, NULL, 0);
-}
-
static ssize_t pfuze_show(struct device *dev,
struct device_attribute *attr, char *buf)
{