Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2232891pxj; Sun, 30 May 2021 18:52:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvnopwDrVEswgaMyIHDNOwTfCd5g3z7nYJAcmh2FVbWQ+dhICgUXdkzayeqMUNJF/ENeTD X-Received: by 2002:a17:906:ae85:: with SMTP id md5mr7066830ejb.301.1622425977007; Sun, 30 May 2021 18:52:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622425977; cv=none; d=google.com; s=arc-20160816; b=fDJXr7yzAx5LLGULeSMzmsjNTMf+ByZ1FR5nAOfpKWAdDpV28DUWEK8z87IoJBftR8 3tqHf3hOFRAcwPBxrc//hoLqeKY4od3VaJnzitvOsHSy9pOhHLL+OE4Vxbhm95CfqXKH +As4IXP4RxQcP47Ov4awSIZtvMVDw2H0Kb0mUjnoDy1vn3BGqakFL/WwjH8p0P2C6J+Q idi846yu9cmHST8gtdC5AxiZw7urtqXRBhqxfeHABpJkxSIKaAVZmCyzqkFOXTiYsIxH WrYd7McpSNw0QaxTsGGxQUBC7m9U8oGEx1/AWyB4q49r5+3AwecghdzzWsqj/5dPiAJ4 31qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=o9uHZUYuo+yV5/DqSfe9QUFOUckyCZOcmcmbsp3ZHvs=; b=vSvps1amUSI3agFaFyELteeuj+djZlx5eKIdzm5c7l/yLcWUGzf8/SZ/vAfD7hNtw2 zO2uLRW0iX64zeemJeKXnahGfLn6vvp6L0AOOlxcalw/OZnVTd7sJZlYQ3AJ77f5fhdQ AhGrdq/768dhq+DqjHVj0zU7K9eijr77Bf5Lp+J7Ja9dQ9DCFYEFJlELJ6qt/ShVwOzQ z1UEC4JbRFJwF/RNEZbjdIaix2TkoSyJPMdlbjHqxo4Mo0Wq5QaFUwZ4z5py761qY1Hq HkXb+nHtv8i8vY4YKxrt6RXHKU4MQiq6jqTuKKUoC9xE9rAHEyGn3T9EDYQscbT+7CBW SCgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iQyrLyU6; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d27si1906361ejt.365.2021.05.30.18.52.34; Sun, 30 May 2021 18:52:57 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iQyrLyU6; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230099AbhEaBuY (ORCPT + 99 others); Sun, 30 May 2021 21:50:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229945AbhEaBuX (ORCPT ); Sun, 30 May 2021 21:50:23 -0400 Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F0BFC061574; Sun, 30 May 2021 18:48:43 -0700 (PDT) Received: by mail-ot1-x331.google.com with SMTP id c31-20020a056830349fb02903a5bfa6138bso2748307otu.7; Sun, 30 May 2021 18:48:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=o9uHZUYuo+yV5/DqSfe9QUFOUckyCZOcmcmbsp3ZHvs=; b=iQyrLyU6d+GL0TV5DxOk5BD5wFRKanmvccuXNUBmeU8Id/MWAtIYzWmhoI7eDB7yw5 NUGnox704j/V5aswtLjS+6ZLp/qAcK9lfFea2bnNRAQKTnZXUpxmdx0FUVM1yjPu/EeS 4RMXse3J10yl+z13FEoVVC+kvyJn30at/kNSW4B/Gk+DlnVpHD02Uwp7vgmzbLHrmOEZ KRmkqMExcOH1UOmFzLwwquSxQ6CLJlAjGiGIrS/FlSddUTt6DkCV6rsaGWJ3pZCL+MF3 IHtZIJoWwz+mSiYYNhg835nO6pY00sRtn3InJviWGHH8m5MlmaZQcfpk9Nkyoxqm4s3g HyBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=o9uHZUYuo+yV5/DqSfe9QUFOUckyCZOcmcmbsp3ZHvs=; b=qZJWogn7iKYGR8O5Zw+pM4o7KS3o9tKYgENaYK8qmdDQeOVbeGbAZqNp2/Se8MGUh0 ThDuAGI5NLhX7OeVH6TZlpFd3NS0O9NPkiU8I8KgudSBIh0OiyoJzEztGe2TvAC3zuOL ZFrl86p6pY195GYmLNnzbcBMo/VUKdJwe5116mS60AiilBqKo4qTN2NZf5qoSMbmtwm3 sJKSN6cgac+F/NXh5IsffkDzBENwCPcTMhwJEHvtlOk+2SGAUXOo608X09usTynZoM6g R8vC3obrwefjJWPyNiJCPod2j76nF5exp1YZoqccKn3i1CMyJcdHj91/wn+yXGmBX1xG gUww== X-Gm-Message-State: AOAM531xyNx/RSY5GneiyWjNj+mLMC+u7r/kCsTWXLrS8diNu3tU5BAt 58GMa9fQoAFqgal0jy2Hkv6I9F3JGr1nxqC99rM= X-Received: by 2002:a9d:7a9:: with SMTP id 38mr6428408oto.362.1622425722686; Sun, 30 May 2021 18:48:42 -0700 (PDT) MIME-Version: 1.0 References: <20210526180717.23d13296@jic23-huawei> In-Reply-To: <20210526180717.23d13296@jic23-huawei> From: Lucas Stankus Date: Sun, 30 May 2021 22:48:06 -0300 Message-ID: Subject: Re: [PATCH v2 0/3] staging: iio: cdc: ad7746: initial effort to move out of staging To: Jonathan Cameron Cc: Lars-Peter Clausen , "Hennerich, Michael" , Greg Kroah-Hartman , linux-iio , linux-staging@lists.linux.dev, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 26, 2021 at 2:05 PM Jonathan Cameron wrote: > > 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. Oh okay, sorry for the unconventional patch set then and thanks for giving me the heads up about the format-patch flag, I'd probably get that wrong if you didn't =/ > > 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. Nice, I'll look into that. > > 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(-) > > >