projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i2c: omap: fix cleanup regression
[cascardo/linux.git]
/
drivers
/
i2c
/
busses
/
i2c-omap.c
diff --git
a/drivers/i2c/busses/i2c-omap.c
b/drivers/i2c/busses/i2c-omap.c
index
afc3bfc
..
08d26ba
100644
(file)
--- a/
drivers/i2c/busses/i2c-omap.c
+++ b/
drivers/i2c/busses/i2c-omap.c
@@
-1342,7
+1342,7
@@
omap_i2c_probe(struct platform_device *pdev)
pm_runtime_use_autosuspend(omap->dev);
r = pm_runtime_get_sync(omap->dev);
- if (
IS_ERR_VALUE(r)
)
+ if (
r < 0
)
goto err_free_mem;
/*