]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pwm: stm32: Make use of mul_u64_u64_div_u64_roundup()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Wed, 15 Apr 2026 14:50:13 +0000 (16:50 +0200)
committerUwe Kleine-König <ukleinek@kernel.org>
Tue, 26 May 2026 05:50:42 +0000 (07:50 +0200)
commit35ce15049ea6ee5d5a59549039698d6029718efc
tree869369dd73e04fa9cc7f2cc3db6508a97373d70a
parent5ac9b13e3fce7fc43bfdbc309dc0871650404023
pwm: stm32: Make use of mul_u64_u64_div_u64_roundup()

When the driver was converted to the waveform API the need for this
function arised but at that time this function didn't exist yet. In the
meantime it's available, so switch to the global function and drop the
driver specific implementation.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/788319f0fff963feca4df3c5fcdd471dcf70ccdf.1776264104.git.u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
drivers/pwm/pwm-stm32.c