OSDN Git Service

mfd: ab8500-debugfs: Use common error handling code in ab8500_print_modem_registers()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 27 Oct 2017 15:20:45 +0000 (17:20 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 8 Jan 2018 11:03:34 +0000 (11:03 +0000)
commit0a5d79bfc0154bb587d5a439dc0e439d4d72f25b
tree03d1fe3c6c795a5252d507517a006343c5a1811e
parente368866ea7a88f5ea16544c4e037b22d993dc3df
mfd: ab8500-debugfs: Use common error handling code in ab8500_print_modem_registers()

Add jump targets so that two error messages are stored only once
at the end of this function implementation.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ab8500-debugfs.c