ACPI: thermal: Move acpi_thermal_driver definition
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 4 Jun 2023 12:15:36 +0000 (14:15 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Jun 2023 17:35:15 +0000 (19:35 +0200)
commit607d265fc1ab0639085016e170ef4e300d187a77
treecdc0e363cc4c4402b79ba5545bb1332421e37bc0
parentbb5ab1fd61d6fcb35502aab39cb195789e3883c7
ACPI: thermal: Move acpi_thermal_driver definition

Move the definition of the acpi_thermal_driver structure closer to the
initialization code that registes the driver, so some function forward
declarations can be dropped.

Also move the module information to the end of the file where it is
usually located.

No functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/acpi/thermal.c