imx_reset is only referenced once so
move to that location.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Marek Vasut <marex@denx.de>
        return clk_div;
 }
 
-/*
- * Reset I2C Controller
- */
-void i2c_reset(void)
-{
-       struct mxc_i2c_regs *i2c_regs = (struct mxc_i2c_regs *)I2C_BASE;
-
-       writeb(0, &i2c_regs->i2cr);     /* Reset module */
-       writeb(0, &i2c_regs->i2sr);
-}
-
 /*
  * Init I2C Bus
  */
        /* Store divider value */
        writeb(idx, &i2c_regs->ifdr);
 
-       i2c_reset();
+       /* Reset module */
+       writeb(0, &i2c_regs->i2cr);
+       writeb(0, &i2c_regs->i2sr);
 }
 
 /*