lkml.org 
[lkml]   [2020]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 6/7] i2c: of: mark a whole array of regs as reserved

> > +int of_i2c_get_board_info(struct device_node *node, struct i2c_board_info *info)
> > +{
> > + u32 addr;
> > + int ret;
> > +
> > + ret = of_property_read_u32(node, "reg", &addr);
>
> Perhaps the time is ripe to start considering #address-cells, instead
> of assuming 1, here ...

I will check both instances. Thanks, Geert!

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-03-12 12:21    [W:0.101 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site