i2c-s3c2410: Fix return code of s3c24xx_i2c_parse_dt_gpio
[pandora-kernel.git] / drivers / i2c / busses / i2c-s3c2410.c
index 37b2de1..4c17180 100644 (file)
@@ -787,7 +787,7 @@ static void s3c24xx_i2c_dt_gpio_free(struct s3c24xx_i2c *i2c)
 #else
 static int s3c24xx_i2c_parse_dt_gpio(struct s3c24xx_i2c *i2c)
 {
-       return -EINVAL;
+       return 0;
 }
 
 static void s3c24xx_i2c_dt_gpio_free(struct s3c24xx_i2c *i2c)