summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2024-09-20 11:58:03 +0300
committerUwe Kleine-König <ukleinek@kernel.org>2024-09-28 16:13:56 +0300
commit65406de2b0d059d44472ad6f3f88a9b4a9894833 (patch)
treedd570b37081b64440cb671b137137d37c5e9f0ef /drivers/pwm/pwm-stm32.c
parentdeaba9cff8092cbb2bef4dc79a6ce296017904b1 (diff)
downloadlinux-65406de2b0d059d44472ad6f3f88a9b4a9894833.tar.xz
pwm: Reorder symbols in core.c
This moves pwm_get() and friends above the functions handling registration of pwmchips. The motivation is that character device support needs pwm_get() and pwm_put() and so ideally is defined below these and when a pwmchip is registered this registers the character device. So the natural order is pwm_get() and friend pwm character device symbols pwm_chip functions . The advantage of having these in their natural order is that static functions don't need to be forward declared. Note that the diff that git produces for this change some functions are moved down instead. This is technically equivalent, but not how this change was created. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Link: https://lore.kernel.org/r/193b3d933294da34e020650bff93b778de46b1c5.1726819463.git.u.kleine-koenig@baylibre.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions