]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit050231e353ed97c70b75865cb41445595ab9ed14
tree04e13fde79d372beb23b952ba84e187ed91f3cf8
parent05bef87d4e52d4941084179068f4fb24ca7c702c
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