Received: by 10.213.65.68 with SMTP id h4csp246436imn; Mon, 12 Mar 2018 12:27:50 -0700 (PDT) X-Google-Smtp-Source: AG47ELs6BDJwFt4eQy9jPDkMl1NTgz8u7KCHA4YYMYZ79m4WrTJKRes1cewQJH6TLTbG2HzZNyAJ X-Received: by 10.98.74.67 with SMTP id x64mr9046084pfa.135.1520882870360; Mon, 12 Mar 2018 12:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520882870; cv=none; d=google.com; s=arc-20160816; b=peFChdIMNymdI6ZK8C7k/PGDn5/k1C41knxmxm1K/aVWyYHvkJ1F5LRbIEns9DCJZK I5opvZEtKMIoVqiEpRqpCS83btJ8kc45t2J+NunDlFDK7QVpSlEuDwM8JoDz3uBSAbVl moIqhEIa+t3aB1dkFPWz9SRz0IEzadYpPZHQkw7ArCZwwhOze2dHVhI/sHd7GAX4R4bK e4qHeiX/l09GZLbaKuQQUPa1jUB5pCstPEsRE9KSkByPjR66jZ52IxtUz4w5V6N4hHzz GH+VjpxF0rWVyxrcDKUlcE0n50/q+LSOoWGaUTYSn8RXUwTTGJXU8raKcwUSWZSGKgHa b05g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:to:subject :message-id:date:from:mime-version:dkim-signature :arc-authentication-results; bh=ak1htX5TXtxRTAuq7f3ezainYCeHnhjYj7gp1IidpEQ=; b=ee/pEUfqrtFvqjpVhv2kaC/E9GOWFblkNIIJJP98oUXDUdvJl7di95CEeo+U3sGur2 V50TqMY8ghryji7+g7nFE14lvvu/IVdJK84DNLCd3mVH5Ez7+JhlwEBG4EBBXDbPuDqp ypF86OTSmLuACg7fgJSyCCvDtdmVs4SNuUXeTckE8UxgQEr12CABH1hMNGVnTKCp/yCC /7+UIhP7NJFwf5B5ATIARxZkcbz87uSEAzQ/TyJFc2H43NSPRNo4mx0bkM1BZHgrTM8w O7eFBpRjcFki6fyFeYhWsaK+tShPq8FR+MPJXmGHnG4vvXELOmI+84XywGtAYTyq5lVU iNkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=WEiUoWuU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t9si6125852pfh.101.2018.03.12.12.27.35; Mon, 12 Mar 2018 12:27:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=WEiUoWuU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932277AbeCLT0P (ORCPT + 99 others); Mon, 12 Mar 2018 15:26:15 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:35167 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751735AbeCLT0N (ORCPT ); Mon, 12 Mar 2018 15:26:13 -0400 Received: by mail-it0-f67.google.com with SMTP id v194-v6so13035556itb.0 for ; Mon, 12 Mar 2018 12:26:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=ak1htX5TXtxRTAuq7f3ezainYCeHnhjYj7gp1IidpEQ=; b=WEiUoWuUkUaSUoJF3pOJsKVZ/Rf/MJpmLqiyXTwABrqDbC2kVzCUjeL1XLK0lNBMXd Z71/4HpXE/EHu+TQ+LtWgY5zuv7uEYHsT4FKZPKge6yAxlQB0EptD7wWLcn6R4uVS1FZ GfA2WSPANeZV8b4q1b9Lzqkd5j/BSNTv/LiPkk2rWSdo1GUg74v1QZyqrusbUp8FLbAi XQV2fDAET46ZIbOsYuLMgDBsbuplN5KAUWrMnc2FOtJ7L0kNgLQtekIRfczBK9AinRHc ngZBbMBEPK2uE9WQe5awca18V1yvcyHFIoNiJ2NId1kXlKVL9UBuBhgImtSxB7f+Cr4d p8hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=ak1htX5TXtxRTAuq7f3ezainYCeHnhjYj7gp1IidpEQ=; b=Q8sM7rksYdwxwwAap/wTaHSNpytcqnmF9Qp0SviKPTKIGiZ2WgxxwIefFHtK736ihu wEfBsoIK24CV9lPzyWxSjhe62SaoCw6zxST7DMVlDaZFeS4mDT+VP/JzO3piPHLl+rfn bACfoDUjBXm+67GCV3Ujvg2D1yB7K3j6qeTEejbEv0R8u5DB6odAd81vi4pFSdLLPjdd SU7UODtfUi5nlT0h3qmDjQAUqW3jBop8NxBUSXchb1yZ7Us3CK7h1+Rjk2MxvOCdeeEd 2PRwUUnKSB+SmAbrdMryIv+zDVqENBTPbcqWf1vB8eV6jP9jsYGzsxzKIISFWPr/lp3e gC5A== X-Gm-Message-State: AElRT7EaiAUcoFQ/QUp9mbfD41pMGp29Ea4Ax/85JNA8BJXXnBPhm9BY CTLkkgQcMrbAptOq6O1mb6auz/gyW95ZgOu+7Yd5BQ== X-Received: by 10.36.90.212 with SMTP id v203mr10574747ita.150.1520882772697; Mon, 12 Mar 2018 12:26:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.103.20 with HTTP; Mon, 12 Mar 2018 12:25:52 -0700 (PDT) From: =?UTF-8?Q?Hern=C3=A1n_Gonzalez?= Date: Mon, 12 Mar 2018 16:25:52 -0300 Message-ID: Subject: Plan to move cdc:ad7746 driver out of staging To: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Daniel Baluta Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is my plan for moving out the ad7746 driver out of staging. I have some specific questions that would be really helpful if someone can point me in the right direction to go. 1. Pick up on David's clean-up patch. Finish cleaning CHECKs from checkpatch.pl if possible. 2. Reorder includes alphabetically. 3. Reorder some variable declarations in an inverse-pyramid scheme. 4. Fix sysfs attrs naming to comply with the ABI, e.g.: in_capacitance0_calibbias_calibration -> in_capacitance0_calibbias 5. Add documentation to the {cap,vt}_filter_rate tables and to the processed info read. There are some magic numbers out there, I will read the datasheet and explain the math that I consider appropiate. 6. There are a few too many defines that are not used at all but they do follow the datasheet. I don't know if there are plans to keep adding functionalities to this driver or if I should just remove them. 8. EXCLVL is duplicated. There's a simple macro in ad7746.c and some defines in ad7746.h. The latter are not used anywhere in the code. Remove them. 7. Move the struct ad7746_platform_data to include/linux/iio. As mentioned in earlier mails, I will avoid adding new features as I have no access to the hardware and, therefore, could not test it. I guess that'd be all. If I'm missing something I would be really grateful if you can let me know or give me some pointers where to look at. Cheers, Hern=C3=A1n