From patchwork Sat Jan 19 18:39:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreeya Patel X-Patchwork-Id: 10772113 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A66936C5 for ; Sat, 19 Jan 2019 18:39:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 964992CC20 for ; Sat, 19 Jan 2019 18:39:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 860702CC23; Sat, 19 Jan 2019 18:39:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E5B22CC20 for ; Sat, 19 Jan 2019 18:39:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728647AbfASSjn (ORCPT ); Sat, 19 Jan 2019 13:39:43 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:45990 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728590AbfASSjn (ORCPT ); Sat, 19 Jan 2019 13:39:43 -0500 Received: by mail-pf1-f196.google.com with SMTP id g62so8180637pfd.12; Sat, 19 Jan 2019 10:39:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=ntPlN8O5ix9MTWk+pNPs1SfGLLi/+g0hRkSJC0iaDn0=; b=MbMppkYu+KX1dnuJqZa+gd+01WpRIxiysr0ASr/+envppdboY+DFFRQDfQ3EDpflX3 DxK6Eiqf97ewldOZxvcukXUYRblS/WKhlYMYn+FLmpFEvfi5kWKVH4O6A7qtUim+12Ou mAxGDpGoW/PL+9BIdP1ji0WzdOYlYp5zriH/yFBRpaRIxeoNg9Tt8lzaCLlcGtlTYV4t FNMqSOHWEWmX5SSaekeqkDYFxRtFvaKezSUs2YFuuY5Vo2QUE3jlEfxud0UBUvmA+pgl Peyc3zKRaoADOqeSgW0JjzTHYElvQdNNHGme4NISuTEtyfkVKMCWqtJajXHdUZ3LLfLt tQRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=ntPlN8O5ix9MTWk+pNPs1SfGLLi/+g0hRkSJC0iaDn0=; b=VCrMqELZ4e/eSpBaBTOM/uhoCRBzYfDNdF4ntz+aFRsIJXrAzL5u5cY1054H1gihsG RGR3HIMAO31oCpNw8OYmmAdiTWfdwCYy5MFxx4K3WAtNXeA3wiW90duxnsSFZZlw0PIF 1qKLE9h+6mZaArVafCpf6OLgsPG95p7lZDI06hPs3zyLAnUJejxwfePw5+LFo5kE1WSk yK78dih2WJJ7cyYabQJibhLKpdr5eZPAtVTytFVWEksqzHGzWwdqLn4FAE1d0CLEZRgj bEW8sEMjoYOn0pQeLdc5XcrNZTtfX7SuIQYyEejbU+0YqNHubkRWDstVgpvuxiXh/GK/ T9Qw== X-Gm-Message-State: AJcUukfTJPSDTpEFtWD98a94DhmhGLlWyhP+aQkzExC8lt5wQLLhB44p yUxi7AEShs+kdtytAs1WZCQ= X-Google-Smtp-Source: ALg8bN70hCgKkOKliX4XX7yTLdk4cRt+yRik4tktHNBZgvyk/FriGdmt55+K34aveFVHJkhQIGjzdw== X-Received: by 2002:a63:6604:: with SMTP id a4mr22379949pgc.118.1547923181862; Sat, 19 Jan 2019 10:39:41 -0800 (PST) Received: from localhost.localdomain ([49.33.214.52]) by smtp.gmail.com with ESMTPSA id m20sm10127471pgb.56.2019.01.19.10.39.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Jan 2019 10:39:41 -0800 (PST) From: Shreeya Patel 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, shreeya.patel23498@gmail.com Subject: [PATCH v2 0/3] adt7316 regmap implementation Date: Sun, 20 Jan 2019 00:09:29 +0530 Message-Id: <20190119183932.14321-1-shreeya.patel23498@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset consist of some initial patches for heading towards the regmap implementation and also the final patch which enables the driver to use regmap API thus removing the redundant and common code. Shreeya Patel (3): Staging: iio: adt7316: Remove irq from bus structure Staging: iio: adt7316: Remove multi read and write functions Staging: iio: adt7316: Add regmap support drivers/staging/iio/addac/adt7316-i2c.c | 101 ++-------------- drivers/staging/iio/addac/adt7316-spi.c | 95 +++------------ drivers/staging/iio/addac/adt7316.c | 147 ++++++++++++------------ drivers/staging/iio/addac/adt7316.h | 15 +-- 4 files changed, 103 insertions(+), 255 deletions(-)