aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-sysfs.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2025-07-19gpio: sysfs: Fix an end of loop test in gpiod_unexport()Dan Carpenter1-3/+6
2025-07-16gpio: sysfs: allow disabling the legacy parts of the GPIO sysfs interfaceBartosz Golaszewski1-0/+42
2025-07-16gpio: sysfs: export the GPIO directory locally in the gpiochip<id> directoryBartosz Golaszewski1-1/+50
2025-07-16gpio: sysfs: don't look up exported lines as class devicesBartosz Golaszewski1-16/+44
2025-07-16gpio: sysfs: don't use driver data in sysfs callbacks for line attributesBartosz Golaszewski1-40/+83
2025-07-16gpio: sysfs: rename the data variable in gpiod_(un)export()Bartosz Golaszewski1-18/+18
2025-07-16gpio: sysfs: pass gpiod_data directly to internal GPIO sysfs functionsBartosz Golaszewski1-12/+9
2025-07-16gpio: sysfs: only get the dirent reference for the value attr onceBartosz Golaszewski1-8/+11
2025-07-16gpio: sysfs: add a parallel class device for each GPIO chip using device IDsBartosz Golaszewski1-48/+144
2025-07-16gpio: sysfs: use gpiod_is_equal() to compare GPIO descriptorsBartosz Golaszewski1-1/+1
2025-06-23gpio: sysfs: fix use-after-free in error pathAntonio Quartulli1-1/+3
2025-06-20gpio: sysfs: remove the mockdev pointer from struct gpio_deviceBartosz Golaszewski1-28/+53
2025-06-20gpio: sysfs: remove unneeded headersBartosz Golaszewski1-2/+0
2025-06-20gpio: sysfs: refactor the coding styleBartosz Golaszewski1-33/+34
2025-06-20gpio: sysfs: call mutex_destroy() in gpiod_unexport()Bartosz Golaszewski1-0/+1
2025-04-07gpiolib: don't allow setting values on input linesBartosz Golaszewski1-5/+3
2024-11-04gpio: sysfs: emit chardev line-state events on edge storeBartosz Golaszewski1-2/+12
2024-11-04gpio: sysfs: emit chardev line-state events on active-low changesBartosz Golaszewski1-0/+2
2024-11-04gpio: sysfs: emit chardev line-state events on GPIO exportBartosz Golaszewski1-2/+6
2024-11-04gpio: sysfs: use cleanup guards for the sysfs_lock mutexBartosz Golaszewski1-33/+22
2024-11-04gpio: sysfs: use cleanup guards for gpiod_data::mutexBartosz Golaszewski1-52/+30
2024-10-31gpio: sysfs: demote warning messages on invalid user input to debugBartosz Golaszewski1-3/+3
2024-10-17gpio: sysfs: constify gpio classBartosz Golaszewski1-3/+2
2024-10-02gpio: sysfs: make the sysfs export behavior consistentBartosz Golaszewski1-8/+2
2024-09-02gpiolib: Update the kernel documentation - add Return sectionsAndy Shevchenko1-2/+4
2024-04-17gpiolib: Get rid of never false gpio_is_valid() callsAndy Shevchenko1-1/+1
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/git/gregkh/driver-coreLinus 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