Tag: 4dc03d0abb3a27cf5842a52c796fe4e3d9541985

mfd: smsc-ece1099: Return directly after a function failure in smsc_i2c_probe()

Author: Markus Elfring <elfring@users.sourceforge.net> 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 Signed-off-by: Lee Jones — drivers/mfd/smsc-ece1099.c | 9 +++—— 1 file changed, 3 insertions(+), 6 deletions(-)   diff –git a/drivers/mfd/smsc-ece1099.c b/drivers/mfd/smsc-ece1099.c index …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.