renamed rockchip_efuse_get_temp to rockchip_efuse_get_temp_adjust;
Signed-off-by: guoyi <gy@rock-chips.com>
return invoke_regs_wr_fn(PSCI_OS_ACCESS_REG, val_64, addr_phy, SEC_REG_WR_32);
}
-static int __init rk3368_efuse_readregs(u32 addr, u32 length, u8 *buf)
+static int rk3368_efuse_readregs(u32 addr, u32 length, u8 *buf)
{
int ret = length;
if (!length)
}
return 0;
}
-int rockchip_efuse_get_temp(int ch)
+int rockchip_efuse_get_temp_adjust(int ch)
{
int ret = 0;
int temp = 0;
int rockchip_efuse_version(void);
int rockchip_process_version(void);
int rockchip_get_leakage(int ch);
-int rockchip_efuse_get_temp(int ch);
+int rockchip_efuse_get_temp_adjust(int ch);
#endif
error);
goto err_disable_pclk;
}
- thermal->cpu_temp_adjust = rockchip_efuse_get_temp(0);
+ thermal->cpu_temp_adjust = rockchip_efuse_get_temp_adjust(0);
if (thermal->chip->mode == TSADC_AUTO_MODE)
{
thermal->chip->initialize(thermal->regs, thermal->tshut_polarity);