]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: of: Remove bogus type qualifier for of_thermal_get_trip_points()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 3 Jan 2015 21:56:56 +0000 (22:56 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 5 Jan 2015 20:03:22 +0000 (16:03 -0400)
commit09b9467e0af3403f6b1341a2470adc2f307c98fb
treebae03fa779127fdebf83d07bf98da525d6c783e0
parentb87e3f1038199c8633d8c6fc6983c1219c6a1749
thermal: of: Remove bogus type qualifier for of_thermal_get_trip_points()

With gcc 4.1.2, 4.2, and 4.2.4 (4.4 and later are OK):

drivers/thermal/thermal_core.h:110: warning: type qualifiers ignored on function return type

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: df1cffa0cafd7b14 ("thermal: of: Extend of-thermal to export table of trip points")
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/of-thermal.c
drivers/thermal/thermal_core.h