gpio: remove gpio_ensure_requested()
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 24 Jul 2014 05:51:02 +0000 (14:51 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 24 Jul 2014 16:18:47 +0000 (18:18 +0200)
gpio_ensure_requested() has been introduced in Feb. 2008 by commit
d2876d08d86f2 to force users of the GPIO API to explicitly request GPIOs
before using them.

Hopefully by now all GPIOs are correctly requested and this extra check
can be omitted ; in any case the GPIO maintainers won't feel bad if
machines start failing after 6 years of warnings.

This patch removes that function from the dark ages.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found