On Tue, May 21, 2019 at 12:53 PM Sven Van Asbroeck <thesven73@xxxxxxxxx> wrote: > > On Tue, May 21, 2019 at 12:24 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> 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 :( :( _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel