X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fthermal%2Fqcom-spmi-temp-alarm.c;h=b677aada5b52860948d6731b0c164573aad4b9f9;hb=99a91c94972d1d583beb4b4854f55984f7cc2dc8;hp=c8d27b8fb9eca1c5ba017fc475c3fbd26bf85580;hpb=c538bb3b8093ad027945b68f8b852ab4aca382b8;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/thermal/qcom-spmi-temp-alarm.c b/drivers/thermal/qcom-spmi-temp-alarm.c index c8d27b8fb9ec..b677aada5b52 100644 --- a/drivers/thermal/qcom-spmi-temp-alarm.c +++ b/drivers/thermal/qcom-spmi-temp-alarm.c @@ -117,7 +117,7 @@ static int qpnp_tm_update_temp_no_adc(struct qpnp_tm_chip *chip) return 0; } -static int qpnp_tm_get_temp(void *data, long *temp) +static int qpnp_tm_get_temp(void *data, int *temp) { struct qpnp_tm_chip *chip = data; int ret, mili_celsius;