Thanks a lot Sebastian and Mark! On Sun, 2020-05-10 at 18:04 +0200, Sebastian Reichel wrote: > Hi, > > On Fri, May 08, 2020 at 06:38:17PM +0300, Matti Vaittinen wrote: > > Please note that this series should be applied to two trees. > > Patches > > 1-4 (or 1-5 as suggested by Sebastian) should go to regulator tree. > > Perhaps Mark can provide an immutable branch to Sebastian? Rest of > > the > > patches can then go to power-supply tree. > > Thanks, I merged the pull-request from Mark and queued patches 5-11. >
I think it's fair to point out also for Sebastian that Mark spotted a compile time warning from linear_ranges when it is compiled as a module. This is only occurring when linear_ranges is compiled as a module. And that requires CONFIG_REGULATOR to be n and linear_ranges test to be m. I guess this is unlikely as I think enabling linear_ranges test code is not common for setups that are not using linear ranges - but for sure some test setup hits this somewhere. Problem is that linear_ranges can be compiled as module (it's tristated in Kconfig) but does not declare MODULE_LICENCE macro. I sent this incremental patch which should fix the issue: https://lore.kernel.org/lkml/20200509151519.GA7100@localhost.localdomain/ - but does applying it to either power-supply or regulator cause a conflict? I just wanted to point this out - sorry for the trouble! And please let me know if you wish me to send some other fix. I will gladly do so and correct my bugs :) --Matti