Files
linux/drivers/thermal
Geert Uytterhoeven 0966233ae8 UPSTREAM: thermal/drivers/hisi: Remove bogus const from function return type
With gcc-4.1.2:

    drivers/thermal/hisi_thermal.c: In function ‘hisi_thermal_probe’:
    drivers/thermal/hisi_thermal.c:530: warning: type qualifiers ignored on function return type

Remove the "const" keyword to fix this.

Fixes: a160a46529 ("thermal/drivers/hisi: Prepare to add support for other hisi platforms")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
(cherry picked from commit d0ecbbbe51)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I8f0f9592fb5544bd0cbbf02557d491c03737cea0
2023-05-16 09:46:46 +09:00
..