pwm: lpc18xx-sct: Fix a comment to match code
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 2 Dec 2022 18:35:07 +0000 (19:35 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 6 Dec 2022 11:46:04 +0000 (12:46 +0100)
commit07d8d8d29aa76f3c28020a9c914cc890eb86a48c
tree1a0e8ef0e9a117492cf3b0d8ad4fdf41825e33f6
parent0b5ef3429d8f78427558ab0dcbfd862098ba2a63
pwm: lpc18xx-sct: Fix a comment to match code

lpc18xx_pwm_probe() only ensures clk_rate <= NSEC_PER_SEC, the following
reasoning is right even under this slightly lesser condition.

Fixes: 8933d30c5f46 ("pwm: lpc18xx: Fix period handling")
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Link: https://lore.kernel.org/r/20221108153013.132514-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-lpc18xx-sct.c