mbox series

[libgpiod,0/2] rust: bindings: drop unneeded Arc within Chip

Message ID 20230927-chip-drop-arc-v1-0-28013bf95948@linaro.org
Headers show
Series rust: bindings: drop unneeded Arc within Chip | expand

Message

Erik Schilling Sept. 27, 2023, 9:25 a.m. UTC
While reviewing code for thread-safety. I realized that this structure
was a bit more complex than it should be...

To: Linux-GPIO <linux-gpio@vger.kernel.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>

Signed-off-by: Erik Schilling <erik.schilling@linaro.org>
---
Erik Schilling (2):
      bindings: rust: construct chip infos by reference
      bindings: rust: drop unneeded Arc within Chip

 bindings/rust/libgpiod/src/chip.rs | 83 +++++++++++++++-----------------------
 1 file changed, 33 insertions(+), 50 deletions(-)
---
base-commit: ced90e79217793957b11414f47f8aa8a77c7a2d5
change-id: 20230927-chip-drop-arc-57debbe1e52a

Best regards,