Received: by 10.223.185.116 with SMTP id b49csp2300090wrg; Sun, 4 Mar 2018 23:50:52 -0800 (PST) X-Google-Smtp-Source: AG47ELt1UFeXpvxEc31MFl9n51BBplxlCOQEJ6DP2N43eSu8ZS3T/rmoXAcXC1auq8fAGjKuFH7v X-Received: by 2002:a17:902:6d0f:: with SMTP id s15-v6mr12203802plk.375.1520236252439; Sun, 04 Mar 2018 23:50:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520236252; cv=none; d=google.com; s=arc-20160816; b=mH1+zLM39X2znFa3MI9Zbcwsb/Tq5FMMRyl3YOnpH0Z+LIpbmQ6dvwGXopIsHRJPk9 t4bphpEUOlODwagjNo3Koe+M3jih1V1fht4hxtBHtsb9UsYLljQeh5XjMvZsEp2HB08j EWa75UaL4nyS99M3aySjWVCyoFpS+CQBfWqYircyWLZ1ZRJ6e9lm7vLmlsGK99sQiP2v sVwk39xFbgKztc0poBFiv3K319McNny/TZo1lzZfyE3jJXki1mZ8ti/t0xsxqONeWG+u eLRbb5YyicBjNeP1nm1fLKyR69lwrzni9gDsy9fxlCGf+mIbGkF3m4LpOrhqhYREkrAm st9Q== 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=uyckeRCdNNmkNDU7F6Kmz0oz7pn1elwoa7UO4dG37f0=; b=ZHfum4NnTglAhlunV1R1QWHxDA1NzzGs8T8ww3K+gqc8wh7FYIh05kXjZmniwQpRAh kIvVzrtOyPzBZ5mpo4GPtDENcF0BSyepgy2cBz5SLiUPp/6OUstKb6rZfeJcOXGR/Vi9 qShFAziu1sNdZ4qV+SscakE5klNO5CuDDWPRkN9YPcrIpfLXwHf5GdrNlzF5cR5BQkgE 7+ThOvqk7+SODLoETursiw+uOfGiX6CJHm4jEUC+J/w3UjeXLyxTs1/JaBa6xhcaQivl UQZrU43/1wFk/HCIChEa2hSsfmZ5iIuD+Mkqv3IOIcOdkwVPipbEMrEejJ2aGuu3KZx5 qxXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LPwjX/dh; 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 p79si8433734pfk.91.2018.03.04.23.50.38; Sun, 04 Mar 2018 23:50:52 -0800 (PST) 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=LPwjX/dh; 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 S933001AbeCEHtw (ORCPT + 99 others); Mon, 5 Mar 2018 02:49:52 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:45292 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751498AbeCEHtu (ORCPT ); Mon, 5 Mar 2018 02:49:50 -0500 Received: by mail-pf0-f193.google.com with SMTP id h19so5987443pfd.12; Sun, 04 Mar 2018 23:49:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=uyckeRCdNNmkNDU7F6Kmz0oz7pn1elwoa7UO4dG37f0=; b=LPwjX/dhXnUNW5fJKTrqgpMuIG76K9nJ6lbuxPaE5lOap/T5mB1h154YfExsME9tpw 7Ys8lk5wRLMw+xw81+vaWSKFHcNNLs2P+7TWPwQXb8BJC7qGRK2VzAJ+/UXS8xI3xSPI AMQb98YTu1MtwvpaXwVeCnKxHaicT0bzIEVJeSJUcCBIMJaAruei+UZhHh66S1y/sWe5 1joi2b6xJ2XGyPLzkJgi+ZFwpr6AO5Dx11sma09hHMPXciYYMECmGguSPPca3VyMPZ4U kpCFq0sX5nEo6fofWLcc9NzSSYXyIDl8LXI1iXQP9hxzNN1ae5M2jcHg3/oVO28S26+x DNvQ== 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=uyckeRCdNNmkNDU7F6Kmz0oz7pn1elwoa7UO4dG37f0=; b=U696oEoQ6oJr08h44xpmvqvNDWX8N49s5qr16x81TPgmB8lD/ndLWSZmZXF9QrUh09 CI02SR1XNxnkuT30sKIQd2B8Mt9fPGkWp+rDUurRMTiAtRS5Oda1fDLOc+0q9xWCgCT8 +BCcGsnS7jBPUEzTM3T5l3O+iFMILN8VJi+UAu2Yjd6IO5AFOAHVWZ375H3YL3oCNMY+ ltddlIUD6orwM6uhVKTglb+a+8GH50k0clCkLyIixK2jwJ48SUFtTjZ/NoJ6hBTmopxE KvbTgRw11ixN5V53YAkMYOAl2fZpjr3yTvB41QjL+uO2D005YR8DGvIPz7fGUDmtZ4FZ uoQw== X-Gm-Message-State: APf1xPCL4UmyMPz2Ve3PeuU5QjcjpN5FSuM0Kpadvx0SOT3KdlZ7PpIj +EM2eOnaJnH/9X5k9d6g1dbyHg== X-Received: by 10.99.167.66 with SMTP id w2mr11481118pgo.357.1520236190036; Sun, 04 Mar 2018 23:49:50 -0800 (PST) Received: from localhost.localdomain ([103.46.193.14]) by smtp.gmail.com with ESMTPSA id 125sm21674256pff.114.2018.03.04.23.49.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 04 Mar 2018 23:49:49 -0800 (PST) From: Himanshu Jha To: jic23@kernel.org Cc: lars@metafoo.de, Michael.Hennerich@analog.com, 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@gmail.com, Himanshu Jha Subject: [PATCH 00/11] staging: iio: accel: adis16201 driver cleanup Date: Mon, 5 Mar 2018 13:19:19 +0530 Message-Id: <1520236170-14668-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 All the patches have been tested using 0-day test service with success. Himanshu Jha (11): Staging: iio: accel: Prefer alphabetical sequence of header files Staging: iio: accel: Add a blank space before returns Staging: iio: accel: Remove unnecessary comments Staging: iio: accel: Rename few macro definitions Staging: iio: accel: Add _REG suffix to registers Staging: iio: accel: Reverse christmas tree Staging: iio: accel: Adjust arguments to match open parentheses Staging: iio: accel: Use switch statement than if-else Staging: iio: accel: Use sign_extend32 function Staging: iio: accel: Add comments about units in data read function Staging: iio: accel: Move adis16201 driver out of staging subsystem drivers/iio/accel/Kconfig | 12 ++ drivers/iio/accel/Makefile | 1 + drivers/iio/accel/adis16201.c | 323 ++++++++++++++++++++++++++++ drivers/staging/iio/accel/Kconfig | 12 -- drivers/staging/iio/accel/Makefile | 1 - drivers/staging/iio/accel/adis16201.c | 381 ---------------------------------- 6 files changed, 336 insertions(+), 394 deletions(-) create mode 100644 drivers/iio/accel/adis16201.c delete mode 100644 drivers/staging/iio/accel/adis16201.c -- 2.7.4