diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-10-13 10:45:23 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2008-10-13 16:51:57 -0400 |
commit | caf1859199e4360ffa826179bc0e881b0348f3ce (patch) | |
tree | cd6da2652aff84e513b46eb7ea541a9bf705f062 | |
parent | add41cb46175618fd42bc1ca07fe7f9dd38bf702 (diff) |
mfd: Fix warning in WM8350
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Ortiz <sameo@openedhand.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
-rw-r--r-- | drivers/mfd/wm8350-core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/wm8350-core.c b/drivers/mfd/wm8350-core.c index 382e38c66914..25a7a5d08bce 100644 --- a/drivers/mfd/wm8350-core.c +++ b/drivers/mfd/wm8350-core.c | |||
@@ -1161,7 +1161,6 @@ int wm8350_device_init(struct wm8350 *wm8350, int irq, | |||
1161 | { | 1161 | { |
1162 | int ret = -EINVAL; | 1162 | int ret = -EINVAL; |
1163 | u16 id1, id2, mask, mode; | 1163 | u16 id1, id2, mask, mode; |
1164 | int i; | ||
1165 | 1164 | ||
1166 | /* get WM8350 revision and config mode */ | 1165 | /* get WM8350 revision and config mode */ |
1167 | wm8350->read_dev(wm8350, WM8350_RESET_ID, sizeof(id1), &id1); | 1166 | wm8350->read_dev(wm8350, WM8350_RESET_ID, sizeof(id1), &id1); |