mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "msm: tsens: Add code to support thermal framework changes"
This commit is contained in:
commit
f51d43dca0
1 changed files with 1 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue