gpiolib: add desc validation to gpiod_set_transitory()
authorVladimir Zapolskiy <vz@mleia.com>
Thu, 21 Dec 2017 16:37:35 +0000 (18:37 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 2 Jan 2018 08:39:17 +0000 (09:39 +0100)
commit156dd39219b159d03762af32f1a0acd05d0cd726
treed4c48efc865c268355dfe50d1d8d9e339e51dd0f
parentdd3b9a44083d3815517a692f8181be8c30c0a1aa
gpiolib: add desc validation to gpiod_set_transitory()

The gpiod_set_transitory() function is publicly exported, and
it is expected from it to be ready for usage with optional GPIOs
on consumer's side.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c