]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: generic: add request function pointer
authorAnthony Fee <anthony.fee@emutex.com>
Mon, 19 May 2014 17:49:14 +0000 (18:49 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 May 2014 12:31:51 +0000 (14:31 +0200)
commit6bf72a59654f6ffa11a3f3589077f4c798193aee
tree9d98ea0ecc17bf63c1a2d7307b9d07d95a6ba00d
parent5333c3bad608b3b13b7441838b064a9f2e0cbd02
gpio: generic: add request function pointer

gpiolib will require all gpio drivers to expicitly set the request
function pointer in the future. To encourage gpio driver developers
to adhere to this standard gpio-generic.c now sets this function
pointer.

Signed-off-by: Anthony Fee <anthony.fee@emutex.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-generic.c