Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
[pandora-kernel.git] / drivers / video / i810 / i810-i2c.c
index e3c8b5f..7d06b38 100644 (file)
@@ -8,7 +8,6 @@
  *  License. See the file COPYING in the main directory of this archive for
  *  more details.
  */
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
@@ -99,7 +98,6 @@ static int i810_setup_i2c_bus(struct i810fb_i2c_chan *chan, const char *name)
        chan->algo.getsda               = i810i2c_getsda;
        chan->algo.getscl               = i810i2c_getscl;
        chan->algo.udelay               = 10;
-       chan->algo.mdelay               = 10;
         chan->algo.timeout              = (HZ/2);
         chan->algo.data                 = chan;
 
@@ -210,8 +208,7 @@ int i810_probe_i2c_connector(struct fb_info *info, u8 **out_edid, int conn)
                }
        }
 
-        if (out_edid)
-                *out_edid = edid;
+       *out_edid = edid;
 
         return (edid) ? 0 : 1;
 }