linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH libgpiod 0/2] bindings: rust: update examples
@ 2025-07-23  8:16 Bartosz Golaszewski
  2025-07-23  8:16 ` [PATCH libgpiod 1/2] bindings: rust: fix formatting in examples Bartosz Golaszewski
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Bartosz Golaszewski @ 2025-07-23  8:16 UTC (permalink / raw)
  To: Viresh Kumar, Linus Walleij, Erik Wierich; +Cc: linux-gpio, Bartosz Golaszewski

Here are two small updates to rust examples. Fix automatic formatting
with rustfmt and unify the way examples import modules.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (2):
      bindings: rust: fix formatting in examples
      bindings: rust: unify imports in examples

 .../libgpiod/examples/buffered_event_lifetimes.rs  | 23 ++++++++++++--------
 .../rust/libgpiod/examples/find_line_by_name.rs    | 13 +++++------
 bindings/rust/libgpiod/examples/get_chip_info.rs   |  4 ++--
 bindings/rust/libgpiod/examples/get_line_info.rs   | 10 ++++-----
 bindings/rust/libgpiod/examples/get_line_value.rs  | 19 ++++++++++------
 .../libgpiod/examples/get_multiple_line_values.rs  | 17 +++++++++------
 .../examples/reconfigure_input_to_output.rs        | 25 +++++++++++++---------
 .../rust/libgpiod/examples/toggle_line_value.rs    |  7 ++++--
 .../examples/toggle_multiple_line_values.rs        |  7 ++++--
 bindings/rust/libgpiod/examples/watch_line_info.rs |  6 +++---
 .../rust/libgpiod/examples/watch_line_rising.rs    |  4 ++--
 .../rust/libgpiod/examples/watch_line_value.rs     |  4 ++--
 .../examples/watch_multiple_line_values.rs         |  4 ++--
 13 files changed, 82 insertions(+), 61 deletions(-)
---
base-commit: 74ca5ca5b71d281801a3353a3d7f0ff04a171c8a
change-id: 20250722-rust-examples-imports-261e098f12f6

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-07-24  9:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-23  8:16 [PATCH libgpiod 0/2] bindings: rust: update examples Bartosz Golaszewski
2025-07-23  8:16 ` [PATCH libgpiod 1/2] bindings: rust: fix formatting in examples Bartosz Golaszewski
2025-07-23  8:16 ` [PATCH libgpiod 2/2] bindings: rust: unify imports " Bartosz Golaszewski
2025-07-23  8:56   ` Erik Schilling
2025-07-23  8:56 ` [PATCH libgpiod 0/2] bindings: rust: update examples Erik Schilling
2025-07-23  9:46 ` Viresh Kumar
2025-07-24  9:32 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).