diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-01-26 17:58:32 +0100 |
---|---|---|
committer | Uwe Kleine-König <uwe@kleine-koenig.org> | 2021-02-02 14:24:20 +0100 |
commit | 5150a8f07f6c2431f12ac5a9ba07ff111d34744d (patch) | |
tree | 0d19bed4be282a5acb612523fb029890b60c90ef /drivers/vfio | |
parent | amba: Fix resource leak for drivers without .remove (diff) | |
download | linux-5150a8f07f6c2431f12ac5a9ba07ff111d34744d.tar.xz linux-5150a8f07f6c2431f12ac5a9ba07ff111d34744d.zip |
amba: reorder functions
Put helpers (here: amba_get_enable_pclk and amba_put_disable_pclk) at
the top of the file and then define callbacks directly before the
structs they are used in; in the same order.
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210126165835.687514-3-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions