Re: [PATCH] bindings: rust: expose v2.1 features as flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06-11-23, 13:53, Erik Schilling wrote:
> v2.1 provided a getter to read the chip name from a request.
> 
> This adds v2_1 as feature in order to raise the minimum requested version
> to v2.1 for exposing the new API.
> 
> This is identical to the concept patch that was posted [1] when this
> feature flag mechanism was proposed. Only the commit message was
> reworded.
> 
> [1] https://lore.kernel.org/all/20231006-b4-bindings-old-version-fix-v1-2-a65f431afb97@xxxxxxxxxx/
> 
> Signed-off-by: Erik Schilling <erik.schilling@xxxxxxxxxx>
> ---
> With v2.1 being released, I am updating feature flags as previously
> sketched.
> 
> To: Bartosz Golaszewski <brgl@xxxxxxxx>
> To: Linux-GPIO <linux-gpio@xxxxxxxxxxxxxxx>
> Cc: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> Cc: Manos Pitsidianakis <manos.pitsidianakis@xxxxxxxxxx>
> Cc: Kent Gibson <warthog618@xxxxxxxxx>
> Cc: Erik Schilling <erik.schilling@xxxxxxxxxx>
> ---
>  bindings/rust/libgpiod-sys/Cargo.toml        | 9 +++++++--
>  bindings/rust/libgpiod/Cargo.toml            | 3 ++-
>  bindings/rust/libgpiod/README.md             | 1 +
>  bindings/rust/libgpiod/src/line_request.rs   | 4 ++--
>  bindings/rust/libgpiod/tests/line_request.rs | 2 +-
>  5 files changed, 13 insertions(+), 6 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

-- 
viresh



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux