Re: [PATCH] devres: Add devm_of_iomap()

2018-06-21 Thread Greg Kroah-Hartman
On Fri, Jun 22, 2018 at 02:13:15PM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2018-06-14 at 13:31 +1000, Benjamin Herrenschmidt wrote: > > There are still quite a few cases where a device might want > > to get to a different node of the device-tree, obtain the > > resources and map them. > > >

Re: [PATCH] devres: Add devm_of_iomap()

2018-06-21 Thread Benjamin Herrenschmidt
On Thu, 2018-06-14 at 13:31 +1000, Benjamin Herrenschmidt wrote: > There are still quite a few cases where a device might want > to get to a different node of the device-tree, obtain the > resources and map them. > > This is generally open coded in drivers which is quite error prone > > We have o