summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpiolib-sysfs.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-08gpio: sysfs: repair export returning -EPERM on 1st attemptAlexander Sverdlin1-1/+1
2024-02-15gpio: sysfs: fix inverted pointer logicBartosz Golaszewski1-1/+1
2024-02-15gpio: use srcu_dereference() with SRCU-protected pointersBartosz Golaszewski1-2/+3
2024-02-12gpio: protect the pointer to gpio_chip in gpio_device with SRCUBartosz Golaszewski1-16/+41
2024-02-12gpio: sysfs: don't access gdev->chip if it's not neededBartosz Golaszewski1-3/+3
2024-02-12gpio: sysfs: pass the GPIO device - not chip - to sysfs callbacksBartosz Golaszewski1-7/+7
2024-02-12gpio: sysfs: extend the critical section for unregistering sysfs devicesBartosz Golaszewski1-7/+8
2024-02-12gpio: remove gpio_lockBartosz Golaszewski1-11/+6
2024-02-12gpio: sysfs: use gpio_device_find() to iterate over existing devicesBartosz Golaszewski1-23/+23
2024-01-17gpiolib: revert the attempt to protect the GPIO device list with an rwsemBartosz Golaszewski1-21/+24
2024-01-04gpiolib: replace the GPIO device mutex with a read-write semaphoreBartosz Golaszewski1-1/+1
2023-12-27gpio: sysfs: drop tabs from local variable declarationsBartosz Golaszewski1-33/+32
2023-12-27Merge tag 'v6.7-rc7' into gpio/for-nextBartosz Golaszewski1-6/+9
2023-12-18gpiolib: use a mutex to protect the list of GPIO devicesBartosz Golaszewski1-24/+21
2023-12-01gpiolib: sysfs: Fix error handling on failed exportBoerge Struempfel1-6/+9
2023-10-04gpio: sysfs: drop the mention of gpiochip_find() from sysfs codeBartosz Golaszewski1-1/+1
2023-08-16gpiolib: sysfs: Do unexport GPIO when user asks for itAndy Shevchenko1-2/+5
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-8/+6
2023-03-31driver core: create class_is_registered()Greg Kroah-Hartman1-2/+2
2023-03-29driver core: class: mark the struct class for sysfs callbacks as constantGreg Kroah-Hartman1-4/+4
2023-03-17drivers: remove struct module * setting from struct classGreg Kroah-Hartman1-2/+0
2023-03-06gpiolib: Clean up headersAndy Shevchenko1-5/+16
2023-03-06gpiolib: remove legacy gpio_export()Arnd Bergmann1-2/+2
2022-04-09gpiolib: Embed iterator variable into for_each_gpio_desc_with_flag()Andy Shevchenko1-2/+1
2022-03-25Merge tag 'gpio-updates-for-v5.18' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-60/+40
2022-02-16gpiolib: sysfs: Simplify edge handling in the codeAndy Shevchenko1-26/+14
2022-02-16gpiolib: sysfs: Move kstrtox() calls outside of the mutex lockAndy Shevchenko1-16/+12
2022-02-16gpiolib: sysfs: Move sysfs_emit() calls outside of the mutex lockAndy Shevchenko1-15/+14
2022-02-08gpiolib: Introduce for_each_gpio_desc_with_flag() macroAndy Shevchenko1-5/+2
2022-02-08gpiolib: Never return internal error codes to user spaceAndy Shevchenko1-5/+2
2021-05-21gpiolib: Use sysfs_emit() in "show" functionsAndy Shevchenko1-17/+12
2021-05-21gpiolib: Make use of assign_bit() API (part 2)Andy Shevchenko1-4/+1
2021-03-31gpio: sysfs: Obey valid_maskMatti Vaittinen1-0/+8
2020-10-26gpiolib: Unify expectations about ->request() returned valueAndy Shevchenko1-1/+1
2020-07-12gpiolib: move gpiolib-sysfs function declarations into their own headerKent Gibson1-0/+1
2020-06-15gpiolib: sysfs: use kobj_to_devWang Qing1-1/+1
2019-12-12gpiolib: Add GPIOCHIP_NAME definitionGeert Uytterhoeven1-4/+3
2018-09-25gpio: Use SPDX header for core libraryLinus Walleij1-0/+1
2018-09-17gpio: Get rid of legacy headerLinus Walleij1-8/+2
2017-12-20gpio: sysfs: avoid using kstrtol() in 'value' attribute writeChristophe Leroy1-2/+7
2017-12-20gpio: sysfs: don't use sprintf() for 'value' attributeChristophe Leroy1-1/+3
2017-12-20gpio: sysfs: correct error handling on 'value' attribute read.Christophe Leroy1-1/+5
2017-12-20gpio: sysfs: change 'value' attribute to preallocChristophe Leroy1-1/+1
2017-12-03gpio: gpiolib: Generalise state persistence beyond sleepAndrew Jeffery1-5/+9
2017-09-05Merge tag 'gpio-v4.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds1-4/+4
2017-08-14gpio: sysfs: Fixup kerneldocThierry Reding1-4/+4
2017-08-14gpio: reject invalid gpio before getting gpio_descMasami Hiramatsu1-2/+8
2017-06-09gpio: use class_groups instead of class_attrsGreg Kroah-Hartman1-5/+8
2016-09-12gpio: fix documentation for gpiod_unexportAmitesh Singh1-2/+2
2016-02-25gpio: fix abi regression in sysfsBamvor Jian Zhang1-1/+11