Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp866753pxb; Sat, 16 Jan 2021 09:39:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRQ9ImmObePU5chkdJ/FBpjxnAR9jASajJue9Dfy1kZSFD30U4afUTxxDc7UVWqS1/69gw X-Received: by 2002:a17:906:2f07:: with SMTP id v7mr12450823eji.343.1610818752581; Sat, 16 Jan 2021 09:39:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610818752; cv=none; d=google.com; s=arc-20160816; b=ygXJlE3sWAlCXSTPEyApbnER3P5nmioFwYUAivP/eMJjlPJdpZ6vnZrLHZGQSV3mJ3 GFzEzhSILU2JFdJ3uqRcwgv7VWfMK8KdULO9Tu3Z6NKUYskN7HJLTbs3rw+J2baAhFaH 93lJ5arHuQodFt4LLLQ4mN4QOcrevZ8vqdneSXcmwRXr7wijIX1LQ1QzdonaqECXIi+8 D8xMkXVXg92EQ0uFi8Al8GGKMzgb5Taflj9M+JKB6AvW1xG8Fb6hN5s1HIwCQLOqGXtE jg+Vdr+I1QJ6ON/sLciSLlA4J9mP/jZbA0GewSJT4MWSpiDqEs83ZSQfP+Y+kvim7oMA cxkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=xWKuJVFwNl0hdvDpSol+NhLTJu4ivj9Onjf785yd6/U=; b=r16eTB1a1gCuPoBCCRopqFELthyxc4X68qFLLJHngXNlGyv7/mk7t2YzzYEQL2w7UZ QlLCsmE9oJBh7rNAhP1tXx9JbcaK1oq7SZHgWOIY1ME/eRxe0vA+HIPDjX8qYXTRW9S+ eBSOjSHmTV9P1bUIFr0VLr2y0KjVHG4eNtHmf27YkBli39tMVKPf1e+ARO0hpWzAXVKs P/JY32HQO/ZyPF2zID0I9ZJN6VAupjpGhrVHddppysjde1cS4QGnRV/XYcjw63FHdT2k Kj18Ofb7GokQgSM/CHMtfL4ySONYfq8eR5fu5LHTzNwZQN+bdi9Mdmu065K+mMBVifRl kg/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o22si5855410edq.400.2021.01.16.09.38.49; Sat, 16 Jan 2021 09:39:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727251AbhAPRhv (ORCPT + 99 others); Sat, 16 Jan 2021 12:37:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:35196 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726253AbhAPRhv (ORCPT ); Sat, 16 Jan 2021 12:37:51 -0500 Received: from archlinux (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DADAB22241; Sat, 16 Jan 2021 17:37:10 +0000 (UTC) Date: Sat, 16 Jan 2021 17:37:07 +0000 From: Jonathan Cameron To: Cristian Pop Cc: , , Subject: Re: [PATCH v6 3/3] iio: dac: ad5766: add driver support for AD5766 Message-ID: <20210116173707.7fdd269c@archlinux> In-Reply-To: <20210115112105.58652-3-cristian.pop@analog.com> References: <20210115112105.58652-1-cristian.pop@analog.com> <20210115112105.58652-3-cristian.pop@analog.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 15 Jan 2021 13:21:05 +0200 Cristian Pop wrote: > The AD5766/AD5767 are 16-channel, 16-bit/12-bit, voltage output dense DACs > Digital-to-Analog converters. > > This change adds support for these DACs. > > Signed-off-by: Cristian Pop I spoke too soon. Please run a W=1 build for future cases. It tends to pick up on little issues - in this case a plural vs singular in the docs vs the code. ... > +/** > + * struct ad5766_chip_info - chip specific information > + * @num_channels: number of channels > + * @channel: channel specification channels. Fixed up and pushed out. thanks, Jonathan > + */ > +struct ad5766_chip_info { > + unsigned int num_channels; > + const struct iio_chan_spec *channels; > +};