diff --git a/drivers/pwm/pwm_th1520.rs b/drivers/pwm/pwm_th1520.rs index 71b80761ec31..21b4bdaf0607 100644 --- a/drivers/pwm/pwm_th1520.rs +++ b/drivers/pwm/pwm_th1520.rs @@ -22,7 +22,6 @@ use core::ops::Deref; use kernel::{ - c_str, clk::Clk, device::{Bound, Core, Device}, devres, @@ -327,7 +326,7 @@ fn drop(self: Pin<&mut Self>) { OF_TABLE, MODULE_OF_TABLE, ::IdInfo, - [(of::DeviceId::new(c_str!("thead,th1520-pwm")), ())] + [(of::DeviceId::new(c"thead,th1520-pwm"), ())] ); impl platform::Driver for Th1520PwmPlatformDriver {