Messages in this thread | | | From | Linus Walleij <> | Date | Mon, 29 Jul 2019 00:21:38 +0200 | Subject | Re: [PATCH 1/3] mfd: ab3100: no need to check return value of debugfs_create functions |
| |
On Sat, Jul 6, 2019 at 6:48 PM Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
> When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. > > Cc: Linus Walleij <linus.walleij@linaro.org> > Cc: Lee Jones <lee.jones@linaro.org> > Cc: linux-arm-kernel@lists.infradead.org > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours, Linus Walleij
| |