[PATCH] staging: fieldbus: anybuss: force address space conversion

Sven Van Asbroeck thesven73 at gmail.com
Tue May 21 17:06:40 UTC 2019


On Tue, May 21, 2019 at 12:53 PM Sven Van Asbroeck <thesven73 at gmail.com> wrote:
>
> On Tue, May 21, 2019 at 12:24 PM Greg KH <gregkh at linuxfoundation.org> wrote:
> >
> > what is so odd about this code that makes you have to jump through
> > strange hoops that no other driver has to?
> >
>
> Basically because it creates a regmap which accesses __iomem memory,
> instead of i2c/spi.
>

Wait a second... doesn't devm_regmap_init_mmio() do exactly that ?!
How could I overlook this :( :(


More information about the devel mailing list