diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-06-26 12:30:46 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-06-29 09:16:29 (GMT) |
commit | 4dc03d0abb3a27cf5842a52c796fe4e3d9541985 (patch) | |
tree | 8612ceb579dd24e7a1d6cef40fc93928026129fc /drivers/mfd/twl-core.c | |
parent | 53b34b8d8860833bc672b6deb77a1769b2f79b5b (diff) | |
download | linux-4dc03d0abb3a27cf5842a52c796fe4e3d9541985.tar.xz |
mfd: smsc-ece1099: Return directly after a function failure in smsc_i2c_probe()
This issue was detected by using the Coccinelle software.
Return directly if a call of the function "devm_regmap_init_i2c"
or "regmap_write" failed.
Delete the jump label "err" then.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/twl-core.c')
0 files changed, 0 insertions, 0 deletions