OSDN Git Service

ACPI: fan: Reorder symbols to get rid of a few forward declarations
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sat, 17 Sep 2022 21:56:22 +0000 (23:56 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 24 Sep 2022 16:46:52 +0000 (18:46 +0200)
commitf23470e659964c41697e9c3e950fe80ecae143de
tree04e13fde79d372beb23b952ba84e187ed91f3cf8
parent521a547ced6477c54b4b0cc206000406c221b4d6
ACPI: fan: Reorder symbols to get rid of a few forward declarations

Having the driver struct at the end of the file isn't only more usual, it
also allows to drop a few forward declarations which are just useless
repetition.

While at it also move the MODULE_... macros to the end of the file.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/fan_core.c