Received: by 10.213.65.68 with SMTP id h4csp609868imn; Fri, 16 Mar 2018 13:08:14 -0700 (PDT) X-Google-Smtp-Source: AG47ELtCuzeN2h1fYiKIg0oePD21s2U4mCgSxdiIsINcjy2YCT6p+hOwfjpfdyXq9EI8hKdFEeAA X-Received: by 10.98.107.134 with SMTP id g128mr2596420pfc.238.1521230894251; Fri, 16 Mar 2018 13:08:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521230894; cv=none; d=google.com; s=arc-20160816; b=ciE6TvlDzbmAc8wfWYTDEGlPLSYRchwgc5ht4TtseCTejLoaL6jg4fQ+Zz7hOm5k8D BIi5B8klxrchRX+lkRiIiWm9rXlNTeDJGwP9YIQLxdcX7mNhLvXOqHO1JtPnuIDIE4IZ l92O8lgIAOjwEY/ezw5SvEqB5fz6CnaC3rfBYl6UxS1HkbHy4IAZkKSCMye6WM4eUVVo 34+SU7o/7SSm1xa4lfhzZxk4K2do3tmqH6mhABDttffwsXO5rOtVHemEizMrw2vV/VjJ ZhbjWg7t0K1KeGxY0YzWtIEIHDgcacrGqPPrURWCDKOuTrK+D3IioHN1igPdEaHsw+cz /Oow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=10bB60EntLtGU6Jtx1bEGuw5khEqdFU7gF7wgbKnwao=; b=0dF5Kk7YaadFcKk0YYhuXOJLxqo50Q8ANe1uuI7KZN1FEHqw55f6Ux86VAEUwdf2o7 it0QWAbwAB31J19VHF8Ds60tDuU0IRUHXiCVWXDnewEVlngumd37BYagjoYKBvMohrmT GXbX0IfzlS6N8ZrOZzrjOqZZV4kHwDCldiDQ/yIjJ0W71p6sjiDkebNF9So0nngDHsnw KOdd3+rjpiYvu5e7uGKpnv8YRIhcdlgyV19QeVZLxDRkjM+0P9wXvtezhZdfLic981am K1C9EtofAv8ZibDlGF529VaqyFYIax5TDlUO2dIBczxrQuhcxZMAIdBrpLqorCqdkJHA fhKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nixNvzXo; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k15si6015037pfi.174.2018.03.16.13.07.59; Fri, 16 Mar 2018 13:08:14 -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=@gmail.com header.s=20161025 header.b=nixNvzXo; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751961AbeCPUGv (ORCPT + 99 others); Fri, 16 Mar 2018 16:06:51 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:39184 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751617AbeCPUGt (ORCPT ); Fri, 16 Mar 2018 16:06:49 -0400 Received: by mail-pl0-f66.google.com with SMTP id k22-v6so5704433pls.6; Fri, 16 Mar 2018 13:06:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=10bB60EntLtGU6Jtx1bEGuw5khEqdFU7gF7wgbKnwao=; b=nixNvzXoBjIgBT/fyP4htvIwNZlhUB27iYp/gCKA5QWf6nwvFhlqovtpmvY4R5jID0 T4GAKJeM+ZT1HnbgRXPjrwGHU7Fg86vo+DiLGIP1NPw70VndlCyVraTo67GznuUWKNeI oKpD2ByY2a7+B9Cf/+6E21gD5GxUM2sGXe2zHbTCE2xk48jY2rLZckFqpJU5EzM1ZI1i qSG7uo0XgyM5O6QA6bSNEouyH/XZc+oH24VyYZxiGthaPYIWH/a1Y4Pme2UoXWGmppVv 9PSWGcnjLjczFuCWle/YnjNVf2qmYKmks3zo27rUPLSTvlc+T0t8pTCtUdLR03ePapnN YT4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=10bB60EntLtGU6Jtx1bEGuw5khEqdFU7gF7wgbKnwao=; b=X7KXzn36eQEBCZOjClpT+H9jeWkKdsFaeaWqSBJGgjKNJeLk4NU0KnxGK1PyRTa2uY 3HqmhunGqlP0ncOxsbBVMYK18MXmlXk6uxNMIBZ/8LntQPrnvYJLRfelw8SaKkgRCPep ZQsh9LsVW3tZAwgYZg0iOWtAPFBSidpQOTMjTyKWdhHuLuo3VIQPQxANSAjse6hT5ae8 5UptXi96eDEq43oVMiYSYCYVpGe62N3GnIT8GiaIBS+U5igrlsZYxl/bGe8UTFs1L4g0 DK8A/F2jPN7mNA6H0R9+Qx5suT2S83urDQPVskqpRJf9Lotq7cAHZMW+0WsEZMfdDuZT S1qQ== X-Gm-Message-State: AElRT7EF0uVXFgX5llvn+mmHHb6xMXRhlARFXwekM2I+Eg+V1GI0fcLL mlSs5prVa/+qDxVVaZjv4Rg= X-Received: by 2002:a17:902:650e:: with SMTP id b14-v6mr1248142plk.147.1521230808892; Fri, 16 Mar 2018 13:06:48 -0700 (PDT) Received: from localhost.localdomain ([103.46.193.14]) by smtp.gmail.com with ESMTPSA id s9sm15605347pfm.39.2018.03.16.13.06.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Mar 2018 13:06:48 -0700 (PDT) From: Himanshu Jha To: jic23@kernel.org Cc: lars@metafoo.de, Michael.Hennerich@analog.com, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, daniel.baluta@gmail.com, 21cnbao@gmail.com, Himanshu Jha Subject: [PATCH v2 0/9] Staging: iio: accel: adis16201 driver cleanup Date: Sat, 17 Mar 2018 01:36:17 +0530 Message-Id: <1521230786-18155-1-git-send-email-himanshujha199640@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following patch series cleans up miscellaneous code fragments and then the driver is moved from staging to mainline IIO subsytem directory. Note that the last patch to move driver is *not* generated using '-M' flag, which is used for detecting renames, since it may help reviewers to suggest more cleanups/fix while pointing inline to the patch, the necessary changes. The framing of patch is made consistent with the datasheet naming where possible. For all the patches: Suggested-by: Jonathan Cameron https://marc.info/?l=linux-iio&m=151775804702998&w=2 Himanshu Jha (9): Staging: iio: accel: adis16201: Rename few macro definitions Staging: iio: accel: adis16201: Remove unnecessary comments Staging: iio: accel: adis16201: Add _REG suffix to reisters Staging: iio: accel: adis16201: Group register definitions Staging: iio: accel: adis16201: Add comments about units in read_raw() Staging: iio: accel: adis16201: Use sign_extend32 function Staging: iio: accel: adis16201: Prefer reverse christmas tree ordering Staging: iio: accel: adis16201: Adjust argument to match open parentheses Staging: iio: accel: adis16201: Move adis16201 driver out of staging drivers/iio/accel/Kconfig | 12 ++ drivers/iio/accel/Makefile | 1 + drivers/iio/accel/adis16201.c | 327 +++++++++++++++++++++++++++++ drivers/staging/iio/accel/Kconfig | 12 -- drivers/staging/iio/accel/Makefile | 1 - drivers/staging/iio/accel/adis16201.c | 385 ---------------------------------- 6 files changed, 340 insertions(+), 398 deletions(-) create mode 100644 drivers/iio/accel/adis16201.c delete mode 100644 drivers/staging/iio/accel/adis16201.c -- 2.7.4