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

Commit f51d43dc authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: tsens: Add code to support thermal framework changes"

parents 9034a3fc 0e96cc41
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -136,6 +136,7 @@ static int get_device_tree_data(struct platform_device *pdev,
	tmdev->ops = data->ops;
	tmdev->ctrl_data = data;
	tmdev->pdev = pdev;
	tmdev->dev = &pdev->dev;

	if (!tmdev->ops || !tmdev->ops->hw_init || !tmdev->ops->get_temp) {
		pr_err("Invalid ops\n");