diff options
author | Robin Gong <B38343@freescale.com> | 2011-12-28 11:43:08 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-06-03 21:47:39 -0500 |
commit | f3056e4d24165aece595c562897397f2cefb41c1 (patch) | |
tree | c6a9be4c4ea261bf4673810e0625e2bd607ffb72 /drivers/mfd | |
parent | 68f48a8288480b506bd0a4b6316c2bf26ddf29bc (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.c | 5 |
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) { |