Loading drivers/thermal/msm-tsens.c +5 −0 Original line number Diff line number Diff line Loading @@ -220,6 +220,10 @@ static int tsens_thermal_zone_register(struct tsens_device *tmdev) static int tsens_tm_remove(struct platform_device *pdev) { struct tsens_device *tmdev = platform_get_drvdata(pdev); if (tmdev) list_del(&tmdev->list); platform_set_drvdata(pdev, NULL); return 0; Loading Loading @@ -278,6 +282,7 @@ static struct platform_driver tsens_tm_driver = { .name = "msm-tsens", .owner = THIS_MODULE, .of_match_table = tsens_table, .suppress_bind_attrs = true, }, }; Loading Loading
drivers/thermal/msm-tsens.c +5 −0 Original line number Diff line number Diff line Loading @@ -220,6 +220,10 @@ static int tsens_thermal_zone_register(struct tsens_device *tmdev) static int tsens_tm_remove(struct platform_device *pdev) { struct tsens_device *tmdev = platform_get_drvdata(pdev); if (tmdev) list_del(&tmdev->list); platform_set_drvdata(pdev, NULL); return 0; Loading Loading @@ -278,6 +282,7 @@ static struct platform_driver tsens_tm_driver = { .name = "msm-tsens", .owner = THIS_MODULE, .of_match_table = tsens_table, .suppress_bind_attrs = true, }, }; Loading