On Sat, Sep 22, 2018 at 3:51 PM Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote: > mrfld_read_bufcfg() helper checks if pin is correct and reads back > the current value of corresponding BUFCFG register. > > While it adds lines of code it will be easier to maintain in the future. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> Patch applied with Mika's ACK. Yours, Linus Walleij