Re: [PATCH v6 3/3] samples: rust: add Rust I2C sample driver
From: Danilo Krummrich
Date: Sun Oct 26 2025 - 06:49:02 EST
On 10/5/25 12:23 PM, Igor Korotin wrote:
> +impl Drop for SampleDriver {
> + fn drop(&mut self) {
> + dev_info!(self.idev.as_ref(), "Remove Rust I2C driver sample.\n");
> + }
> +}
NIT: Please use the i2c::Driver::unbind() callback instead.