summaryrefslogtreecommitdiff
path: root/drivers/thermal/imx_thermal.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-11-17 17:48:52 +0100
committerEduardo Valentin <edubezval@gmail.com>2015-11-23 15:34:34 -0800
commitc86b3de8c8b02d7e474fdc002c8df533b844524c (patch)
treef629cbfd874a6b82f2143acef2c11c64daf589c3 /drivers/thermal/imx_thermal.c
parente4217468ae72a02e5d4f33d517a32a8c48b91c44 (diff)
thermal: fix thermal_zone_bind_cooling_device prototype
When the prototype for thermal_zone_bind_cooling_device changed, the static inline wrapper function was left alone, which in theory can cause build warnings: I have seen this error in the past: drivers/thermal/db8500_thermal.c: In function 'db8500_cdev_bind': drivers/thermal/db8500_thermal.c:78:9: error: too many arguments to function 'thermal_zone_bind_cooling_device' ret = thermal_zone_bind_cooling_device(thermal, i, cdev, while this one no longer shows up, there is no doubt that the prototype is still wrong, so let's just fix it anyway. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: 6cd9e9f629f1 ("thermal: of: fix cooling device weights in device tree") Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/imx_thermal.c')
0 files changed, 0 insertions, 0 deletions