On Wed, Oct 30, 2024 at 05:53:05PM +0100, Kory Maincent wrote: > From: Kory Maincent (Dent Project) <kory.maincent@xxxxxxxxxxx> > > This driver frequently follows a pattern where two registers are read or > written in a single operation, followed by calculating the bit offset for > a specific channel. > > Introduce helpers to streamline this process and reduce code redundancy, > making the codebase cleaner and more maintainable. > > Signed-off-by: Kory Maincent <kory.maincent@xxxxxxxxxxx> > --- Acked-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |