thermal/drivers/hisi: Remove bogus const from function return type
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 19 Nov 2017 11:04:27 +0000 (12:04 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 2 Jan 2018 18:44:58 +0000 (10:44 -0800)
commitd0ecbbbe518e1b256fcda1770ec06a5a1a058567
tree3c96df2ffdfd3f859fa3b0c915309b2da1d7b366
parentf80ee03fe72deb702c83a353b41d0fac12ed7ded
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: a160a465297362c5 ("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>
drivers/thermal/hisi_thermal.c