On Wed, May 29, 2024 at 02:03:35PM +0200, Bartosz Golaszewski wrote: > On Wed, May 29, 2024 at 9:46 AM Matthias Schiffer > <matthias.schiffer@xxxxxxxxxxxxxxx> wrote: > > > > Conversion to actually use regmap does not seem useful for this driver, > > as regmap can't properly represent separate read-only and write-only > > registers at the same address, but we can at least match the API to make > > the code clearer. > > > > No functional change intended. > > > > Fixes: b868db94a6a7 ("gpio: tqmx86: Add GPIO from for this IO controller") > > This is not a fix. Agreed. I'm somewhat conflicted by this patch. It is a step towards using regmap, but then says regmap does not make sense. So why make that step? Changing the order of parameters like this seems like it is will make back porting bug fixes harder, unless all supported versions are changed, which is why fixes make sense. Does the compiler at least issue a warning if the parameters are used the wrong way around? Overall, i'm leaning towards just dropping it. Andrew