]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mfd: Fix warning in WM8350
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 13 Oct 2008 14:45:23 +0000 (15:45 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 13 Oct 2008 20:51:57 +0000 (21:51 +0100)
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>
drivers/mfd/wm8350-core.c

index 382e38c6691453b718b91e114db9aa367674e009..25a7a5d08bce3bf8867c9f48eeda555df6a88a7f 100644 (file)
@@ -1161,7 +1161,6 @@ int wm8350_device_init(struct wm8350 *wm8350, int irq,
 {
        int ret = -EINVAL;
        u16 id1, id2, mask, mode;
-       int i;
 
        /* get WM8350 revision and config mode */
        wm8350->read_dev(wm8350, WM8350_RESET_ID, sizeof(id1), &id1);