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

This commit is contained in:
qctecmdr 2020-02-17 01:36:26 -08:00 • committed by Gerrit - the friendly Code Review server
commit f51d43dca0

View file

@ -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");