Re: [PATCH 0/6] staging:iio:ad2s90: Add dt support and move out of staging
From: Jonathan Cameron
Date: Sun Nov 11 2018 - 06:34:22 EST
On Fri, 9 Nov 2018 20:00:38 -0200
Matheus Tavares <matheus.bernardino@xxxxxx> 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%)
>