Re: [PATCH v1 1/1] spi_ks8995: use regmap to access chip registers.
From: David Miller
Date: Wed Feb 07 2018 - 21:49:26 EST
From: Sven Van Asbroeck <svendev@xxxxxxxx>
Date: Tue, 6 Feb 2018 10:13:56 -0500
> The register map layouts used in this driver are well suited to
> being accessed through a regmap. This makes the driver simpler
> and shorter, by eliminating some spi boilerplate code.
>
> Testing:
> - tested on a ksz8785.
> - not tested on the other supported chips (ks8995, ksz8864)
> because I don't have access to them.
> However, I instrumented the spi layer to verify that the
> correct spi transactions are generated to read the ID
> registers on those chips.
>
> Signed-off-by: Sven Van Asbroeck <svendev@xxxxxxxx>
Please resubmit this simplification when the net-next tree opens
back up.
Thank you.