Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 849394ab authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "thermal: tsens: Suppress bind/unbind attributes"

parents c1e86850 80aa2312
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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;
@@ -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,
	},
};