summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/arizona-micsupp.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2019-06-26 10:45:57 +0200
committerBartosz Golaszewski2019-06-27 15:54:19 +0200
commitf360dcd4ef7fbaec774a64c54b402b4c8a4cffb2 (patch)
tree59fd615bc3adffcb67ecdf9542eab114419cb3ce /drivers/regulator/arizona-micsupp.c
parentgpio: madera: Fixup SPDX headers (diff)
downloadkernel-qcow2-linux-f360dcd4ef7fbaec774a64c54b402b4c8a4cffb2.tar.gz
kernel-qcow2-linux-f360dcd4ef7fbaec774a64c54b402b4c8a4cffb2.tar.xz
kernel-qcow2-linux-f360dcd4ef7fbaec774a64c54b402b4c8a4cffb2.zip
gpio: mockup: no need to check return value of debugfs_create functions
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: Bamvor Jian Zhang <bamv2005@gmail.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com> Cc: linux-gpio@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> [Bartosz: removed one more check for debugfs return value] Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/regulator/arizona-micsupp.c')
0 files changed, 0 insertions, 0 deletions