Linux I2C development
 help / color / mirror / Atom feed
* [GIT PULL] rust-i2c-next for 7.3
@ 2026-08-19 21:28 Igor Korotin
  0 siblings, 0 replies; only message in thread
From: Igor Korotin @ 2026-08-19 21:28 UTC (permalink / raw)
  To: Andi Shyti
  Cc: linux-i2c, linux-kernel, rust-for-linux, Danilo Krummrich,
	Miguel Ojeda, Wolfram Sang

Hi Andi,

First pull request from the rust-i2c tree for you.

Thank you.

Igor

The following changes since commit 527dd7fb6209857f8ff4426055b3a418e60faa8b:

  Merge branch 'i2c/i2c' into i2c/i2c-next (2026-07-29 23:40:39 +0200)

are available in the Git repository at:

  https://github.com/ikrtn/linux.git tags/rust-i2c-for-7.3

for you to fetch changes up to 61ddec70c9bcc3d4b0471c8683e57d3b03cecf0a:

  i2c: rust: mark I2cAdapter methods as inline (2026-08-09 12:04:34 +0100)

----------------------------------------------------------------
i2c: rust: mark I2cAdapter methods as inline

A single cleanup for the Rust I2C abstractions, targeting 7.3.

`I2cAdapter::get`, `inc_ref`, and `dec_ref` are trivial wrappers around
`i2c_get_adapter`/`i2c_put_adapter` and were showing up as their own
symbols in the build. Mark them `#[inline]` so they get folded into
their callers instead.

Signed-off-by: Igor Korotin <igor.korotin@linux.dev>

----------------------------------------------------------------
Nicolás Antinori (1):
      i2c: rust: mark I2cAdapter methods as inline

 rust/kernel/i2c.rs | 3 +++
 1 file changed, 3 insertions(+)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-19 21:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-19 21:28 [GIT PULL] rust-i2c-next for 7.3 Igor Korotin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox