aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-bcm2835.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-01-25 13:08:23 +0100
committerUwe Kleine-König <[email protected]>2024-02-15 12:28:02 +0100
commit62928315adfe32442b119cff42788891db89a575 (patch)
treee3019c48c729fc364d80c31e8131c74c06e0f00b /drivers/pwm/pwm-bcm2835.c
parentbdc585f987a0e18be9399abc609d564c83f74c2b (diff)
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 <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-bcm2835.c')
0 files changed, 0 insertions, 0 deletions