Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5289949imu; Sun, 20 Jan 2019 07:38:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN7T2afS+Q745X4iuF5zLAiAbtfmv7mKX+V9VOMiexIcnWpDkxAK0TKeSMlLjxq0l1JwqaZV X-Received: by 2002:a62:104a:: with SMTP id y71mr7642178pfi.34.1547998691579; Sun, 20 Jan 2019 07:38:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547998691; cv=none; d=google.com; s=arc-20160816; b=ayPNwMCy45+FgmrQuy1aibn3qUeJG/4Z8wpYOX2v2UnxPJRW/6+l5gW3VPpE/BDXeW QNKk/d3Q1hL64yCLjphsq471kCD3hzWdN0JdXzGgvBvh0jJhuGHye9zJsDhXOCAChBtH dLksYqYSSGIbPM8tkdtwP6FDf43kwcOXFSry9IfRd2yTrteQVtQvCieHJgPCVeUa3Nd2 M2dBdGpGgWwQ/85GpdiHprfz3Ot7BGLZ/RIeuYlxvn+E+OKTxcZwfVAVo5lvePjYvAf7 Qvyxhz4QOR2hZu5wcsD7qKt5uvu4yNOY+M9vbiykB7AfglhDqO2Q3KKvY0pTNDTzDjcs 69dw== 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; bh=A/Jsitz8t0jwpJshk5WhVv/ja/VQeqHos6vsHDkCVrU=; b=Cmv0MXmPP05mOopJ1e0FAsCG7VRQJGRtr/w8HVw2Uq9YHGhL3dAX3SQzb3eNoGq/eP TrAtJdNjObUQIpvjWPySEnfHTafdEwlsx+SeKk1zNk+wYtv/jW9v5t5pf1TpZMPYvmMY 1bHf5DWP82gKI84B7Ou52fhm0GvXhp+WbeqKhNYS8ZpP4AF+pg2RfbV8HpM7EuvYbggH pNmHPWGGn3pFQhSz/KsUY5gMpJSkEWhcLWxR5lWO7QVGmJkryx15BdTCWqS42Fg3lW5L Xx1tMG3BTPU8rW9TNr9ds0HMLIcao8GyZ+8mxOhWUfpLDzNG0Tlk7fAYYKs9bHNWv8Ef iYIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uppWnQw5; 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 c22si9730921pgb.254.2019.01.20.07.37.56; Sun, 20 Jan 2019 07:38:11 -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=uppWnQw5; 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 S1727053AbfATPgm (ORCPT + 99 others); Sun, 20 Jan 2019 10:36:42 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:46855 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbfATPgl (ORCPT ); Sun, 20 Jan 2019 10:36:41 -0500 Received: by mail-pl1-f193.google.com with SMTP id t13so8543666ply.13; Sun, 20 Jan 2019 07:36:41 -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=A/Jsitz8t0jwpJshk5WhVv/ja/VQeqHos6vsHDkCVrU=; b=uppWnQw5eTJldWpcJVLa4/P3LQCF5tLUBMEl1vGigc40jmMDj/Ef+56OfLdk+5VR9e xDypksZ00kuroPQFtWTPMP9Jxo4d+ZGtC8K+JailCkcsGZrFQdk7oLLhBeZIvUOaDfHY mZIwfscRxG8fd/xKxT1ohcs7beev1Q1TdDQ8QgIUXPPezqEjErE11AQpHVg1AFjVuMs6 ifjVOTFUX87WHqT/9kt01p0FcCQ+skyW4euvT0nlE6qdJ0BjhIw/yT0Jk9Lw69rHTAQ2 MhcjBRYdvjs0ujZEbrJX86Ipj0w7lulmK9sxRjAzWvZ7ei01C+mLcHIzqbqRorO1MF4X elwA== 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=A/Jsitz8t0jwpJshk5WhVv/ja/VQeqHos6vsHDkCVrU=; b=INle0vWSnm0T8JD/Nh/jXMa/VUvvFg7/ozPg+Kb3LHv0LTl/Bvhex/obIZF0u+TJLW jJIn7vyOv9Ff380PpMGw6JFmge8TK86aGaplj+lw4PY0TngyRkyywzT+og9StPzylXgX ddGE6bJcevCLi1VnlToi7fSNcSMJtWaM4kngwYmJ5TiMfjihKk3qnVxW8bgPBN3pBXQJ zdHDuhnO3QQS/bNr41XPHMOkZvJAYQ79nEUjR1FF4YGCVDNjbp1O+X3ivQJx470CUGuV +K9saqDoMhQvt6SfoDO9UC4OpPJKbMKv27gfNQAHU/Pi3HUM04PJFaVzh9xPe31nvrPO FFMw== X-Gm-Message-State: AJcUukeO68ack5qJ4+zXlDqAWvGetrz9R7WBh3qF16dlFJdrEZ/CbclR blOKP/hPDL4wCDJMX05nkCc= X-Received: by 2002:a17:902:be0e:: with SMTP id r14mr25172806pls.124.1547998601077; Sun, 20 Jan 2019 07:36:41 -0800 (PST) Received: from localhost.localdomain ([223.189.18.171]) by smtp.gmail.com with ESMTPSA id o8sm21451376pfa.42.2019.01.20.07.36.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Jan 2019 07:36:40 -0800 (PST) From: Shreeya Patel 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, jeremyfertic@gmail.com, shreeya.patel23498@gmail.com Subject: [PATCH v3 0/3] adt7316 regmap implementation Date: Sun, 20 Jan 2019 21:06:30 +0530 Message-Id: <20190120153633.18231-1-shreeya.patel23498@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Changes in v3 -Fetch the changes from remote and rebase to have it in the current working directory. Changes in v2 -Change the val_bits to 8 and add two more patches having a different change before the final implemetation of regmap. 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 | 97 ++-------------- 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(+), 251 deletions(-) -- 2.17.1