summaryrefslogtreecommitdiffstats
path: root/Documentation/gpio
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2014-07-22 16:17:43 +0900
committerLinus Walleij <linus.walleij@linaro.org>2014-07-23 17:46:00 +0200
commitd82da79722400c63cc70f4c9c2493e31561ea607 (patch)
tree90d2bf33e888414e8ab8e987012abf71803fb8f5 /Documentation/gpio
parentd74be6dfea1b96cfb4bd79d9254fa9d21ed5f131 (diff)
downloadlinux-d82da79722400c63cc70f4c9c2493e31561ea607.tar.bz2
gpio: move gpio_ensure_requested() into legacy C file
gpio_ensure_requested() only makes sense when using the integer-based GPIO API, so make sure it is called from there instead of the gpiod API which we know cannot be called with a non-requested GPIO anyway. The uses of gpio_ensure_requested() in the gpiod API were kind of out-of-place anyway, so putting them in gpio-legacy.c helps clearing the code. Actually, considering the time this ensure_requested mechanism has been around, maybe we should just turn this patch into "remove gpio_ensure_requested()" if we know for sure that no user depend on it anymore? Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/gpio')
0 files changed, 0 insertions, 0 deletions