OSDN Git Service

gpio: sysfs: remove FLAG_SYSFS_DIR
authorJohan Hovold <johan@kernel.org>
Mon, 4 May 2015 15:10:47 +0000 (17:10 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 12 May 2015 08:47:52 +0000 (10:47 +0200)
commit427fdeef5014c77aea7ca10c104d534786c3c1e0
treedc7ac195615a9c7bd5b469bdb2fe522384fc2646
parent2f323b85675d89c85e72bec191d42b72d905a652
gpio: sysfs: remove FLAG_SYSFS_DIR

Remove FLAG_SYSFS_DIR, which is sysfs-interface specific, and store it
in the class-device data instead.

Note that the flag is only used during export.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-sysfs.c
drivers/gpio/gpiolib.h