# Re: \[V2 PATCH 06/10\] of/drivers: Always use struct device.of\_node to get node pointer

- From: Jochen Friedrich \<jochen@scram.de\>
- Date: 2010-03-18 16:11:07 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2010/03/3549838
- Thread: https://ratatoskr.run/linuxppc-dev/2010/03/3549815/t.md

```text
Hi Grant,

> The following structure elements duplicate the information in
> 'struct device.of_node' and so are being eliminated.  This patches
> makes all readers of the following elements use device.of_node instead.
>
> struct dev_archdata.prom_node (sparc)
> struct dev_archdata.of_node (powerpc)
> struct of_device.node
>
> Signed-off-by: Grant Likely <redacted>
> ---
>
>  drivers/i2c/busses/i2c-ibm_iic.c              |    4 ++--
>  drivers/i2c/busses/i2c-mpc.c                  |   17 ++++++++-------

drivers/i2c/busses/i2c-cpm.c is missing in this patch.

Thanks,
Jochen
```
