Skip to content

Instantly share code, notes, and snippets.

@shakalaca
Created August 3, 2017 12:58
Show Gist options
  • Save shakalaca/7ecaa5b2539cbc5141b1c954cba4791a to your computer and use it in GitHub Desktop.
Save shakalaca/7ecaa5b2539cbc5141b1c954cba4791a to your computer and use it in GitHub Desktop.
WTF
if (!of_match_node(tsens_match, of_node)) {
pr_err("Need to read SoC specific fuse map\n");
return -ENODEV;
}
id = of_match_node(tsens_match, of_node);
if (id == NULL) {
pr_err("can not find tsens_match of_node\n");
return -ENODEV;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment