Loading drivers/thermal/msm-tsens.c +5 −5 Original line number Diff line number Diff line Loading @@ -5841,6 +5841,11 @@ static int tsens_thermal_zone_register(struct tsens_tm_device *tmdev) const struct of_device_id *id; struct device_node *of_node; if (tmdev == NULL) { pr_err("Invalid tsens instance\n"); return -EINVAL; } of_node = tmdev->pdev->dev.of_node; if (of_node == NULL) { pr_err("Invalid of_node??\n"); Loading @@ -5858,11 +5863,6 @@ static int tsens_thermal_zone_register(struct tsens_tm_device *tmdev) return -ENODEV; } if (tmdev == NULL) { pr_err("Invalid tsens instance\n"); return -EINVAL; } for (i = 0; i < tmdev->tsens_num_sensor; i++) { char name[18]; if ((!strcmp(id->compatible, "qcom,mdm9640-tsens")) || Loading Loading
drivers/thermal/msm-tsens.c +5 −5 Original line number Diff line number Diff line Loading @@ -5841,6 +5841,11 @@ static int tsens_thermal_zone_register(struct tsens_tm_device *tmdev) const struct of_device_id *id; struct device_node *of_node; if (tmdev == NULL) { pr_err("Invalid tsens instance\n"); return -EINVAL; } of_node = tmdev->pdev->dev.of_node; if (of_node == NULL) { pr_err("Invalid of_node??\n"); Loading @@ -5858,11 +5863,6 @@ static int tsens_thermal_zone_register(struct tsens_tm_device *tmdev) return -ENODEV; } if (tmdev == NULL) { pr_err("Invalid tsens instance\n"); return -EINVAL; } for (i = 0; i < tmdev->tsens_num_sensor; i++) { char name[18]; if ((!strcmp(id->compatible, "qcom,mdm9640-tsens")) || Loading