提交 caf18591 编写于 作者: M Mark Brown 提交者: Liam Girdwood

mfd: Fix warning in WM8350

Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: NSamuel Ortiz <sameo@openedhand.com>
Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册