From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:45754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727492AbeKKVWi (ORCPT ); Sun, 11 Nov 2018 16:22:38 -0500 Date: Sun, 11 Nov 2018 11:34:13 +0000 From: Jonathan Cameron To: Matheus Tavares Cc: Lars-Peter Clausen , Michael Hennerich , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , Rob Herring , Mark Rutland , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandru Ardelean , kernel-usp@googlegroups.com, victorcolombo@gmail.com Subject: Re: [PATCH 0/6] staging:iio:ad2s90: Add dt support and move out of staging Message-ID: <20181111113413.46e1070f@archlinux> In-Reply-To: <20181109220044.24843-1-matheus.bernardino@usp.br> References: <20181109220044.24843-1-matheus.bernardino@usp.br> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On Fri, 9 Nov 2018 20:00:38 -0200 Matheus Tavares wrote: > This patch set adds device tree support to ad2s90, with standard > device tree id table, adds the respective dt-binding documentation, > solves a codestyle warning and move the driver out of staging. > > This patch set completes all the remaining itens listed to be done > before moving the driver out of staging, enumerated in this mail thread: > https://marc.info/?l=linux-iio&m=154028966111330&w=2, except by one > codestyle problem: "CHECK: struct mutex definition without comment". It > seems to be a commonly ignored check for mutexes of device states. If I > am wrong, please, let me know and I will be happy to send a patch to > tackle it. It should be commented. Device state is not actually all that well defined and means different things in different drivers. Here it is very straight forward as it's role is to protect the buffer. There is no other state maintained. Jonathan > > Matheus Tavares (6): > staging:iio:ad2s90: Add device tree support > staging:iio:ad2s90: Remove spi setup that should be done via dt > staging:iio:ad2s90: Add max frequency check at probe > dt-bindings:iio:resolver: Add docs for ad2s90 > staging:iio:ad2s90: Add SPDX license identifier > staging:iio:ad2s90: Move out of staging > > .../bindings/iio/resolver/ad2s90.txt | 26 ++++++++++++++++ > drivers/iio/resolver/Kconfig | 10 ++++++ > drivers/iio/resolver/Makefile | 1 + > drivers/{staging => }/iio/resolver/ad2s90.c | 31 ++++++++++++------- > drivers/staging/iio/resolver/Kconfig | 10 ------ > drivers/staging/iio/resolver/Makefile | 1 - > 6 files changed, 57 insertions(+), 22 deletions(-) > create mode 100644 Documentation/devicetree/bindings/iio/resolver/ad2s90.txt > rename drivers/{staging => }/iio/resolver/ad2s90.c (81%) >