Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp80177pxj; Wed, 26 May 2021 16:46:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzMJ/lJpvAFxrqVgaOouD7oTrAnLsjnmRtCgNgA906j+jz8zncRkeqr60SWXAp2ssHdgDb X-Received: by 2002:a6b:e817:: with SMTP id f23mr579774ioh.183.1622072796249; Wed, 26 May 2021 16:46:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622072796; cv=none; d=google.com; s=arc-20160816; b=l+agL0tUQN4Itc/WxzBfHkg+rKqA1/5UcqtIGVvFIa2Y12QTAavHm8Q8b1b6PEAV0P 8RbVUttScOUQi/7O4JkLAoUX+a2V5EyIl7HSP7UZaFD1PpU2ArleDn79sBzhXXgK7GTN v6sBTlB7ukPlaPuPmfbG2rR9vPIAyHNMhb0+bAtCcusEq1ooaMDhcvTndDrJBWlZy7m2 zTTePcPthbbOBhk+ID74a4M4rPEIBU3iNc5bBZmbYYRiuZlBhEo/7iOnNa4RjjBDDTGv 5Reba/aCPI6Y/orYaR2m1t0WHGv+2e6HftQbkDMpgOP2Qun6L9dqrKO7KZ5kFqjjoe+L wLvQ== 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=xGXs7i1YdlDm5iLufOBN82YgcOE6d6ht2xhQdEklIVA=; b=nQCSUCcmmcSAuwkQ/agvEEa+oFnV6Z1/9d8palvSZj6x3iC17XC5vkxQIsy2OrQmRM 6KOACban1Zzs69JoED+TFShxMdbHjClWniPVFrV4L/kqeFhAJ4IvDr4JkE5XKR0gVQza V+JW04aPJJPv7uExX0S0fyQQN5CkRgl7Mk3KlO5SL40/KY0l50F+ngUEyEAN7L0alqL2 JdG6TmaWVRbCuwiyAjn7nLhSZ6tSnEhTXQupywh5NeTTB0Uu6C7vLiuI2FXMS0d6eWa3 P05YVq079OLsD+YYuGPQ7Eiu5p0Fz887XIUyKQtqLUXJ/dKHDABXpwW9r7BGqpMY09YC nK6A== 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 n4si516916ion.59.2021.05.26.16.45.51; Wed, 26 May 2021 16:46:36 -0700 (PDT) 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 S234039AbhEZRH0 (ORCPT + 99 others); Wed, 26 May 2021 13:07:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:46678 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234043AbhEZRHW (ORCPT ); Wed, 26 May 2021 13:07:22 -0400 Received: from jic23-huawei (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 5CDBC613E5; Wed, 26 May 2021 17:05:48 +0000 (UTC) Date: Wed, 26 May 2021 18:07:17 +0100 From: Jonathan Cameron To: Lucas Stankus Cc: lars@metafoo.de, Michael.Hennerich@analog.com, gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/3] staging: iio: cdc: ad7746: initial effort to move out of staging Message-ID: <20210526180717.23d13296@jic23-huawei> In-Reply-To: References: 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 Sun, 23 May 2021 14:11:35 -0300 Lucas Stankus wrote: > Tidy up driver code by removing vague comments, simplifying probe > return, and extracting capdac register write to a separate function. > > These small patches are a starting point for improving the ad7746 driver, > hopefully to a point where it's possible to get it out of staging. I'm > looking up to feedback on what could be improved to accomplish that. Usually the easiest way to get such feedback is to propose moving it out of staging, (with move detection turned off in git format-patch). Then we'll review it in a similar fashion to a new driver. Starting point though for any review is ABI. Looks like there is some custom stuff in here which either needs to go away or be properly proposed and documented. This series applied to the togreg branch of iio.git - initially pushed out as testing to let 0-day poke at it. Thanks, Jonathan > > changelog v1 -> v2: > - Dropped num_channels fixup patch (applied from previous series). > - Split general code style patch into several atomic ones. > - New patch to catch capdac write boilerplate into a single function. > > Lucas Stankus (3): > staging: iio: cdc: ad7746: remove ordinary comments > staging: iio: cdc: ad7746: clean up probe return > staging: iio: cdc: ad7746: extract capac setup to own function > > drivers/staging/iio/cdc/ad7746.c | 58 +++++++++++++------------------- > 1 file changed, 23 insertions(+), 35 deletions(-) >