summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-sysfs.c
Commit message (Expand)AuthorAgeFilesLines
* gpio: sysfs: repair export returning -EPERM on 1st attemptAlexander Sverdlin2024-03-081-1/+1
* gpio: sysfs: fix inverted pointer logicBartosz Golaszewski2024-02-151-1/+1
* gpio: use srcu_dereference() with SRCU-protected pointersBartosz Golaszewski2024-02-151-2/+3
* gpio: protect the pointer to gpio_chip in gpio_device with SRCUBartosz Golaszewski2024-02-121-16/+41
* gpio: sysfs: don't access gdev->chip if it's not neededBartosz Golaszewski2024-02-121-3/+3
* gpio: sysfs: pass the GPIO device - not chip - to sysfs callbacksBartosz Golaszewski2024-02-121-7/+7
* gpio: sysfs: extend the critical section for unregistering sysfs devicesBartosz Golaszewski2024-02-121-7/+8
* gpio: remove gpio_lockBartosz Golaszewski2024-02-121-11/+6
* gpio: sysfs: use gpio_device_find() to iterate over existing devicesBartosz Golaszewski2024-02-121-23/+23
* gpiolib: revert the attempt to protect the GPIO device list with an rwsemBartosz Golaszewski2024-01-171-21/+24
* gpiolib: replace the GPIO device mutex with a read-write semaphoreBartosz Golaszewski2024-01-041-1/+1
* gpio: sysfs: drop tabs from local variable declarationsBartosz Golaszewski2023-12-271-33/+32
* Merge tag 'v6.7-rc7' into gpio/for-nextBartosz Golaszewski2023-12-271-6/+9
|\
| * gpiolib: sysfs: Fix error handling on failed exportBoerge Struempfel2023-12-011-6/+9
* | gpiolib: use a mutex to protect the list of GPIO devicesBartosz Golaszewski2023-12-181-24/+21
|/
* gpio: sysfs: drop the mention of gpiochip_find() from sysfs codeBartosz Golaszewski2023-10-041-1/+1
* gpiolib: sysfs: Do unexport GPIO when user asks for itAndy Shevchenko2023-08-161-2/+5
* Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2023-04-271-8/+6
|\
| * driver core: create class_is_registered()Greg Kroah-Hartman2023-03-311-2/+2
| * driver core: class: mark the struct class for sysfs callbacks as constantGreg Kroah-Hartman2023-03-291-4/+4
| * drivers: remove struct module * setting from struct classGreg Kroah-Hartman2023-03-171-2/+0
* | gpiolib: Clean up headersAndy Shevchenko2023-03-061-5/+16
* | gpiolib: remove legacy gpio_export()Arnd Bergmann2023-03-061-2/+2
|/
* gpiolib: Embed iterator variable into for_each_gpio_desc_with_flag()Andy Shevchenko2022-04-091-2/+1
* Merge tag 'gpio-updates-for-v5.18' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2022-03-251-60/+40
|\
| * gpiolib: sysfs: Simplify edge handling in the codeAndy Shevchenko2022-02-161-26/+14
| * gpiolib: sysfs: Move kstrtox() calls outside of the mutex lockAndy Shevchenko2022-02-161-16/+12
| * gpiolib: sysfs: Move sysfs_emit() calls outside of the mutex lockAndy Shevchenko2022-02-161-15/+14
| * gpiolib: Introduce for_each_gpio_desc_with_flag() macroAndy Shevchenko2022-02-081-5/+2
* | gpiolib: Never return internal error codes to user spaceAndy Shevchenko2022-02-081-5/+2
|/
* gpiolib: Use sysfs_emit() in "show" functionsAndy Shevchenko2021-05-211-17/+12
* gpiolib: Make use of assign_bit() API (part 2)Andy Shevchenko2021-05-211-4/+1
* gpio: sysfs: Obey valid_maskMatti Vaittinen2021-03-311-0/+8
* gpiolib: Unify expectations about ->request() returned valueAndy Shevchenko2020-10-261-1/+1
* gpiolib: move gpiolib-sysfs function declarations into their own headerKent Gibson2020-07-121-0/+1
* gpiolib: sysfs: use kobj_to_devWang Qing2020-06-151-1/+1
* gpiolib: Add GPIOCHIP_NAME definitionGeert Uytterhoeven2019-12-121-4/+3
* gpio: Use SPDX header for core libraryLinus Walleij2018-09-251-0/+1
* gpio: Get rid of legacy headerLinus Walleij2018-09-171-8/+2
* gpio: sysfs: avoid using kstrtol() in 'value' attribute writeChristophe Leroy2017-12-201-2/+7
* gpio: sysfs: don't use sprintf() for 'value' attributeChristophe Leroy2017-12-201-1/+3
* gpio: sysfs: correct error handling on 'value' attribute read.Christophe Leroy2017-12-201-1/+5
* gpio: sysfs: change 'value' attribute to preallocChristophe Leroy2017-12-201-1/+1
* gpio: gpiolib: Generalise state persistence beyond sleepAndrew Jeffery2017-12-021-5/+9
* Merge tag 'gpio-v4.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds2017-09-051-4/+4
|\
| * gpio: sysfs: Fixup kerneldocThierry Reding2017-08-141-4/+4
* | gpio: reject invalid gpio before getting gpio_descMasami Hiramatsu2017-08-141-2/+8
|/
* gpio: use class_groups instead of class_attrsGreg Kroah-Hartman2017-06-091-5/+8
* gpio: fix documentation for gpiod_unexportAmitesh Singh2016-09-121-2/+2
* gpio: fix abi regression in sysfsBamvor Jian Zhang2016-02-251-1/+11