]> www.infradead.org Git - users/jedix/linux-maple.git/commit
samples: rust_misc_device: Demonstrate additional get/set value functionality
authorLee Jones <lee@kernel.org>
Fri, 13 Dec 2024 13:47:08 +0000 (13:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Dec 2024 15:12:53 +0000 (16:12 +0100)
commit42523ceba5f6735df4d02c6982d1733a1465afbd
treeae74fb42d3fc169b524973d9b4fd8cb8fb6b049c
parentfdb1ac6c302689b286eca9bb7247111bffc7db17
samples: rust_misc_device: Demonstrate additional get/set value functionality

Expand the complexity of the sample driver by providing the ability to
get and set an integer.  The value is protected by a mutex.

Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20241213134715.601415-4-lee@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
samples/rust/rust_misc_device.rs