Skip to content

Commit 9d527c7

Browse files
committed
rust: device: fix commit reference style
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 5f48fa8 commit 9d527c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rust/kernel/device.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ use crate::c_str;
3131
/// related to `self`, that is, actions on it will affect `self`. For example, if one calls
3232
/// `get_device`, then the refcount on the device represented by `self` will be incremented.
3333
///
34-
/// Additionally, implementers must ensure that the device is never renamed. Commit a5462516aa994
35-
/// has details on why `device_rename` should not be used.
34+
/// Additionally, implementers must ensure that the device is never renamed. Commit a5462516aa99
35+
/// ("driver-core: document restrictions on device_rename()") has details on why `device_rename`
36+
/// should not be used.
3637
pub unsafe trait RawDevice {
3738
/// Returns the raw `struct device` related to `self`.
3839
fn raw_device(&self) -> *mut bindings::device;

0 commit comments

Comments
 (0)