mbox series

[v2,0/4] gpio: sim, virtuser: minor usability enhancements

Message ID 20250103030402.81954-1-koichiro.den@canonical.com
Headers show
Series gpio: sim, virtuser: minor usability enhancements | expand

Message

Koichiro Den Jan. 3, 2025, 3:03 a.m. UTC
This is just a minor usability enhancement proposal for gpio-virtuser and
gpio-sim.

Koichiro Den (4):
  gpio: virtuser: fix missing lookup table cleanups
  gpio: virtuser: fix handling of multiple conn_ids in lookup table
  gpio: virtuser: lock up configfs that an instantiated device depends on
  gpio: sim: lock up configfs that an instantiated device depends on

 drivers/gpio/gpio-sim.c      | 48 ++++++++++++++++++----
 drivers/gpio/gpio-virtuser.c | 80 +++++++++++++++++++++++++++---------
 2 files changed, 101 insertions(+), 27 deletions(-)

---
v1->v2:
- Incorporated feedback from Bartosz:
  * added more gpiod_remove_lookup_table() calls where appropriate.
  * assigned subsys at declaration.
- Added missing kfree(dev->lookup_table).
- Fixed typos in commit messages.

v1: https://lore.kernel.org/all/20241224060819.1492472-1-koichiro.den@canonical.com/