]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6db7f4dcfb624e871de379609ce09514fe5454c7
treedc7ac195615a9c7bd5b469bdb2fe522384fc2646
parent895352d2238550512e7720b65e7ae41d23c0287b
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