diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-03-15 13:56:04 +0300 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-03-23 10:50:27 +0900 |
commit | b9b518f53996b67833b42ca7751b2085b0dc565a (patch) | |
tree | 101093ee28154ce1312c976f7b2fff8bf351696c /include/xen/xen-ops.h | |
parent | d927c59076f505a056e78a9fc9744069aa052cc8 (diff) |
extcon: max77843: Fix an error code in max77843_init_muic_regmap()
The i2c_new_dummy() return the NULL if error happen. So, If i2c_new_dummy()
return NULL, max77843_init_muic_regmap() return the proper error value
(-ENOMEM);
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
[cw00.choi: Use -ENOMEM instead of -ENODEV and modify patch description]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'include/xen/xen-ops.h')
0 files changed, 0 insertions, 0 deletions