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:
Gerard Marull-Paretas 2022-04-04 16:51:28 +02:00 committed by Carles Cufí
commit aa37dedcaf

View file

@ -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);