]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpio: No need to cast away return value of debugfs_create_file()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jun 2019 15:50:45 +0000 (17:50 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Jun 2019 14:56:52 +0000 (15:56 +0100)
commitacc68b0e70e8c9cb4355f9cafeaf51a441f64cc2
treebcaf1c83d909a492bc6369519052bd61b27ccf61
parentdb16bad6efd9ce362be3d67cb05c3f70eb5a0dd3
gpio: No need to cast away return value of debugfs_create_file()

It is fine to ignore the return value (and encouraged), so need to cast
away the return value, you will not get a build warning at all.

Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c