diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2014-07-01 14:45:15 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-07-09 12:22:57 +0200 |
commit | 0eb4c6c2671ca05e447811041c838e2a6bc2a1f4 (patch) | |
tree | 8edc2ff6a011aaaa304bcd769ef889f1e1a04fe8 /drivers/gpio/gpiolib-legacy.c | |
parent | 9c8318ff7041c8024e3afa22ce77e208138f1da5 (diff) | |
download | linux-stable-0eb4c6c2671ca05e447811041c838e2a6bc2a1f4.tar.gz linux-stable-0eb4c6c2671ca05e447811041c838e2a6bc2a1f4.tar.bz2 linux-stable-0eb4c6c2671ca05e447811041c838e2a6bc2a1f4.zip |
gpio: move sysfs support to its own file
sysfs support is currently entangled within the core GPIO support, while
it should relly just be a (privileged) user of the integer GPIO API.
This patch is a first step towards making the gpiolib code more readable
by splitting it into logical parts.
Move all sysfs support to their own source file, and share static
members of gpiolib that need to be in the private gpiolib.h file. In
the future we will want to put some of them back into gpiolib.c, but this
first patch let us at least identify them.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-legacy.c')
0 files changed, 0 insertions, 0 deletions