[GIT PULL] rust-i2c-next for 7.3

Igor Korotin <[email protected]>
Newsgroups org.kernel.vger.linux-i2c,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux
Message-ID <[email protected]>
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 <[email protected]>

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

 rust/kernel/i2c.rs | 3 +++
 1 file changed, 3 insertions(+)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.