Messages in this thread | | | Date | Thu, 8 Aug 2019 08:32:35 +0100 | From | Lee Jones <> | Subject | Re: [PATCH 2/3] mfd: ab8500: no need to check return value of debugfs_create functions |
| |
On Sat, 06 Jul 2019, Greg Kroah-Hartman 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> > --- > drivers/mfd/ab8500-debugfs.c | 324 +++++++++++------------------------ > 1 file changed, 98 insertions(+), 226 deletions(-)
Applied, thanks.
-- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
| |