spi device probe not carring device tree pointer, how to troubleshoot?

From: Daniel. <hidden>
Date: 2016-08-04 20:02:05

Hi everybody.

I'm trying to get one of my drivers working on top of this[1]. My
driver gets probed but spi->dev.of_node is NULL. Does anybody knows
where spi->dev.of_node gets setted!? Here is a sample [2].

[1] https://github.com/daniel-santos/mcp2210-linux
[2] https://gist.github.com/gkos/b54054b345afc4239e92f8adde99788e

-- 
"Do or do not. There is no try"
  Yoda Master
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help