drivers: pwm: ite_it8xxx2: remove wrong ARG_UNUSED
The pwm arg is used in the function, so placing ARG_UNUSED is wrong. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
c11516ae90
commit
aa37dedcaf
1 changed files with 0 additions and 2 deletions
|
@ -108,8 +108,6 @@ static int pwm_it8xxx2_pin_set(const struct device *dev,
|
|||
uint32_t actual_freq = 0xffffffff, target_freq, deviation, cxcprs, ctr;
|
||||
uint64_t pwm_clk_src;
|
||||
|
||||
ARG_UNUSED(pwm);
|
||||
|
||||
/* PWM channel clock source gating before configuring */
|
||||
pwm_enable(dev, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue