Files
linux-stable-mirror/rust/kernel
Lee Jones 284ae0be4d rust: miscdevice: Provide accessor to pull out miscdevice::this_device
There are situations where a pointer to a `struct device` will become
necessary (e.g. for calling into dev_*() functions).  This accessor
allows callers to pull this out from the `struct miscdevice`.

Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Tested-by: Lee Jones <lee@kernel.org>
Reviewed-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20241210-miscdevice-file-param-v3-3-b2a79b666dc5@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-12-16 16:12:34 +01:00
..
2024-09-30 13:02:29 +02:00
2024-11-05 05:33:46 +01:00
2024-11-10 23:58:00 +01:00
2024-11-10 23:58:00 +01:00
2024-10-08 15:44:36 +02:00
2024-10-08 14:32:39 +02:00
2024-11-10 23:58:00 +01:00
2024-11-26 17:54:58 -08:00
2024-11-10 23:58:00 +01:00
2024-11-04 16:21:44 -05:00
2024-11-10 23:58:00 +01:00