From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH v1 1/1] spi_ks8995: use regmap to access chip registers. Date: Wed, 07 Feb 2018 21:49:16 -0500 (EST) Message-ID: <20180207.214916.370684288901847015.davem@davemloft.net> References: <1517930036-17618-1-git-send-email-svendev@arcx.com> <1517930036-17618-2-git-send-email-svendev@arcx.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: andrew@lunn.ch, f.fainelli@gmail.com, helmut.buchsbaum@gmail.com, Maarten.Blomme@flir.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: svendev@arcx.com Return-path: In-Reply-To: <1517930036-17618-2-git-send-email-svendev@arcx.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Sven Van Asbroeck 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 Please resubmit this simplification when the net-next tree opens back up. Thank you.