Skip to content

Commit 349b967

Browse files
committed
drivers: char: bcm2835_rng: fix needless borrow Clippy warning
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent b94a010 commit 349b967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/char/hw_random/bcm2835_rng_rust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ struct RngModule {
7373
impl KernelModule for RngModule {
7474
fn init() -> Result<Self> {
7575
const OF_MATCH_TBL: ConstOfMatchTable<1> =
76-
ConstOfMatchTable::new_const([&c_str!("brcm,bcm2835-rng")]);
76+
ConstOfMatchTable::new_const([c_str!("brcm,bcm2835-rng")]);
7777

7878
let pdev = platdev::Registration::new_pinned::<RngDriver>(
7979
c_str!("bcm2835-rng-rust"),

0 commit comments

Comments
 (0)