Commit caf18591 authored by Mark Brown's avatar Mark Brown Committed by Liam Girdwood

mfd: Fix warning in WM8350

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarSamuel Ortiz <sameo@openedhand.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent add41cb4
...@@ -1161,7 +1161,6 @@ int wm8350_device_init(struct wm8350 *wm8350, int irq, ...@@ -1161,7 +1161,6 @@ int wm8350_device_init(struct wm8350 *wm8350, int irq,
{ {
int ret = -EINVAL; int ret = -EINVAL;
u16 id1, id2, mask, mode; u16 id1, id2, mask, mode;
int i;
/* get WM8350 revision and config mode */ /* get WM8350 revision and config mode */
wm8350->read_dev(wm8350, WM8350_RESET_ID, sizeof(id1), &id1); wm8350->read_dev(wm8350, WM8350_RESET_ID, sizeof(id1), &id1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment