OSDN Git Service

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)
commit3fab91ea284a3b795327dda915a3c150a49e4be2
treeb14a447bd32e444aa848d364defcff8ec5bdf730
parentfa283db76f681b9e17af2c329817042134178e7f
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