]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: lp3943: Drop pin_used and lp3943_gpio_request/lp3943_gpio_free
authorAxel Lin <axel.lin@ingics.com>
Mon, 29 Feb 2016 13:08:19 +0000 (21:08 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Mar 2016 02:17:55 +0000 (09:17 +0700)
commit49c8096f83238714efb3dcc70ef4b60a12153f4c
treeb14a447bd32e444aa848d364defcff8ec5bdf730
parentabf4b109ef8825a62e6456cfbfb5e1821fbbaad8
gpio: lp3943: Drop pin_used and lp3943_gpio_request/lp3943_gpio_free

The implementation of lp3943_gpio_request/lp3943_gpio_free test pin_used
for tracing the pin usage. However, gpiolib already checks FLAG_REQUESTED
flag for the same purpose. So remove the redundant implementation.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-lp3943.c
include/linux/mfd/lp3943.h