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

- From: Grant Likely \<hidden\>
- Date: 2010-03-18 17:27:50 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2010/03/3549883
- Thread: https://ratatoskr.run/linuxppc-dev/2010/03/3549815/t.md

```text
On Thu, Mar 18, 2010 at 9:58 AM, Jochen Friedrich [ref] wrote:
> Hi Grant,
>
>> The following structure elements duplicate the information in
>> 'struct device.of_node' and so are being eliminated. =A0This 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>
>> ---
>>
>> =A0drivers/i2c/busses/i2c-ibm_iic.c =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0=
4 ++--
>> =A0drivers/i2c/busses/i2c-mpc.c =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0=
 17 ++++++++-------
>
> drivers/i2c/busses/i2c-cpm.c is missing in this patch.

Good catch, Thanks.

g.
```
