diff options
Diffstat (limited to 'arch/arm/mach-omap2/i2c.c')
-rw-r--r-- | arch/arm/mach-omap2/i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/i2c.c b/arch/arm/mach-omap2/i2c.c index d940e53dd9f2..b456b4471f35 100644 --- a/arch/arm/mach-omap2/i2c.c +++ b/arch/arm/mach-omap2/i2c.c | |||
@@ -181,7 +181,7 @@ int __init omap_i2c_add_bus(struct omap_i2c_bus_platform_data *i2c_pdata, | |||
181 | sizeof(struct omap_i2c_bus_platform_data)); | 181 | sizeof(struct omap_i2c_bus_platform_data)); |
182 | WARN(IS_ERR(pdev), "Could not build omap_device for %s\n", name); | 182 | WARN(IS_ERR(pdev), "Could not build omap_device for %s\n", name); |
183 | 183 | ||
184 | return PTR_RET(pdev); | 184 | return PTR_ERR_OR_ZERO(pdev); |
185 | } | 185 | } |
186 | 186 | ||
187 | static int __init omap_i2c_cmdline(void) | 187 | static int __init omap_i2c_cmdline(void) |