diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-06-26 14:30:46 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-06-29 10:16:29 +0100 |
commit | 4dc03d0abb3a27cf5842a52c796fe4e3d9541985 (patch) | |
tree | 8612ceb579dd24e7a1d6cef40fc93928026129fc /drivers/mfd/arizona.h | |
parent | 53b34b8d8860833bc672b6deb77a1769b2f79b5b (diff) | |
download | talos-obmc-linux-4dc03d0abb3a27cf5842a52c796fe4e3d9541985.tar.gz talos-obmc-linux-4dc03d0abb3a27cf5842a52c796fe4e3d9541985.zip |
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/arizona.h')
0 files changed, 0 insertions, 0 deletions