[PATCH v2 0/4] gpio: sim, virtuser: minor usability enhancements
From: Koichiro Den
Date: Thu Jan 02 2025 - 22:04:21 EST
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@xxxxxxxxxxxxx/
--
2.43.0