diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-01-25 13:08:23 +0100 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-02-15 12:28:02 +0100 |
commit | 62928315adfe32442b119cff42788891db89a575 (patch) | |
tree | e3019c48c729fc364d80c31e8131c74c06e0f00b /drivers/pwm/pwm-imx27.c | |
parent | bdc585f987a0e18be9399abc609d564c83f74c2b (diff) | |
download | linux-62928315adfe32442b119cff42788891db89a575.tar.gz linux-62928315adfe32442b119cff42788891db89a575.tar.bz2 linux-62928315adfe32442b119cff42788891db89a575.zip |
pwm: Reorder symbols in core.c
This moves the functions called by pwm consumers above the functions
called by pwm providers. When character device support is added later
this is hooked into the chip registration functions. As the needed
callbacks are a kind of consumer and make use of the consumer functions,
having this order is more natural and prevents having to add
declarations for static functions.
Also move the global variables for pwm tables to the respective
functions to have them properly grouped.
Link: https://lore.kernel.org/r/eed83de07bdfb69b5ceba0b9aed757ee612dea8f.1706182805.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/pwm/pwm-imx27.c')
0 files changed, 0 insertions, 0 deletions