Files
linux/drivers/mfd
Javier Martinez Canillas 1b52e50f2a mfd: max77843: Fix max77843_chg_init() return on error
If i2c_new_dummy() fails in max77843_chg_init(), an PTR_ERR(NULL) is
returned which is 0. So the function was wrongly returning a success
value instead of an error code.

Cc: [email protected] # 4.1
Fixes: c7f585fe46 ("mfd: max77843: Add max77843 MFD driver core driver")
Signed-off-by: Javier Martinez Canillas <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
2015-10-01 16:31:42 +01:00
..
…
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:45 +01:00
2015-03-26 14:20:18 +00:00
2015-03-03 16:41:21 +00:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00
…
2015-08-11 15:09:01 +01:00
2015-08-11 15:09:01 +01:00
…