Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1739596imu; Sat, 26 Jan 2019 09:34:38 -0800 (PST) X-Google-Smtp-Source: ALg8bN6G8AbVsOfxymC91Jv+BTXxiMptx6JUxpqZCdUZB7JWhG+nowBQDOetHHnoIfTrCbxI0f81 X-Received: by 2002:a65:590b:: with SMTP id f11mr14160862pgu.60.1548524078430; Sat, 26 Jan 2019 09:34:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548524078; cv=none; d=google.com; s=arc-20160816; b=koObwJ8cu+qitlFVf+Rg36U959ge0XVl+NkKkAYOuQFA2Q+Yiw8QHJA92LGjyQycfo EBKSni6+s1jf2IrlgOKHHcjp3AOWpcHTbl+koPnoDDiubfuZwQyLON28GljPunvn2Imz Jw3bTXQzqGpvX+jSjSp/yeOHHPic3IdaNF23JSx1QGoRwDQS3Z0feI5m3ZNdFM8un3jc cL4TV9Pv7KCRGFigoHOEpL29oCCvRcFXVUjvWDZmQTvR2QsZ7UrJspWdbSEuD6i1/tZH /PhRwHlXOxlr9vLs/BGrHiKBdPINupdm/lMqITNTr04cWCuR1tJ69eFGc563qT6ruliQ Gqlw== 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:to:from :dkim-signature; bh=BFicm88r+0qpqh0sISAyMs4S8ExnHqgpaDgIsLuempY=; b=WeY1KXWblLEPK+0a7rOT8oFPMJl/n2vWdVHm/FB1g7Bdwu/md+Dx8+GmHdssaOdWAY k1OD6Uh54XaRNpbUrn8pPk1nYkBUytdH/4gmueM5As8wG/4ouW4HkRGPHFDBUmN4g7xP 7CalINFi+Hq41eDUh//RV/daK4KN8F6e2BND8Bc2yslGLHcXRGDq3TA1Fpu+HpX/sUJC nlut5SPUqT+i8cvTbQuOsF8PsUD0qQVPNIbGp1BHX4GxDFN/zTiU6Y3HJsoF4vjihiy8 0Cn8PEwlsVKM++++BwowxY6my29qC194gVVO1+gHJDiUR1RJ0vttqdxjTlg0UTqqqMfU U6Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tdbdy3F0; 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 k7si26489022pgm.462.2019.01.26.09.34.23; Sat, 26 Jan 2019 09:34:38 -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=tdbdy3F0; 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 S1726215AbfAZReO (ORCPT + 99 others); Sat, 26 Jan 2019 12:34:14 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:42297 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726070AbfAZReN (ORCPT ); Sat, 26 Jan 2019 12:34:13 -0500 Received: by mail-pf1-f196.google.com with SMTP id 64so6107309pfr.9; Sat, 26 Jan 2019 09:34:13 -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=BFicm88r+0qpqh0sISAyMs4S8ExnHqgpaDgIsLuempY=; b=tdbdy3F0vhAOYHfBmunr0NcVIecWfHCcWoyQGH3WtHm1bQCnv1RYCpbguuRCXKSkoX FmIPLeOkc+sp9FR2zwyY38plTZP0JbpBW/M/n9EcmdADov/oBwovzQdo+x0cndSZ17ah jcuCfUBeMViNRpQNo7T24QeZWwFMletuwWfzzZMnECjIEmpPwX0hifAFIgsd5ZagFPtf dXsxW0hdXFBdDIQh6NXsJCmGfrJwqW/e+i8raEeWcOZlHMt1ac/ABv6Mda3T2MtYQXlC 8uLn4zERLeXnfW1OHW6f3hj79Kiq3lrdmY1Kzw+5i7L1AKGaMXiwfuhVUOYPHb16ThvV WF7A== 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=BFicm88r+0qpqh0sISAyMs4S8ExnHqgpaDgIsLuempY=; b=nJQ6DGoxkFM2nIiYrVW49O7UDPnS9OG+Rg2v46VFyAGMQHa4isx2U9t+jMqRh3wivR 43eK8+dP2nUbFgh4KKz+nGYZzNq9AbMwOZsxtPXxiAGYwW40yNBuHcW8K3CSoH8vjR+7 iUyy+ToME34p6jbcCvz3XxNw3hgrYPW7pVymO5CeHOCy9eTc0g154R99Rlgh3aa1fYXh G0uOTZwKHRB1JJEMthI+AQIdYwoXf17R00wavuRRn4DatrN3Sofp2Vph3R2ZR9EYqehF caBtUfvqIdB9hi9ym4psE1IxhoWzHwfVHlumpGoed7CVB/gih5xYh5RkDsaUZ75PHa6n mn0A== X-Gm-Message-State: AJcUukery0NqxAHwYmFGT6sxSeNDUL2ueqe7eCHUKW7ceILXIat/YcLC xyDUqCFBIoJlgV92yZ5W9Bg= X-Received: by 2002:a63:e655:: with SMTP id p21mr13913428pgj.70.1548524052683; Sat, 26 Jan 2019 09:34:12 -0800 (PST) Received: from localhost.localdomain ([49.32.227.18]) by smtp.gmail.com with ESMTPSA id a65sm28745690pge.65.2019.01.26.09.34.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Jan 2019 09:34:12 -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, jeremyfertic@gmail.com, shreeya.patel23498@gmail.com Subject: [PATCH v4 0/3] adt7316 regmap implementation Date: Sat, 26 Jan 2019 23:03:59 +0530 Message-Id: <20190126173402.12428-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 v4 -Rebase against iio's testing branch. Previous series was rebased against greg's testing branch. 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 | 149 ++++++++++++------------ drivers/staging/iio/addac/adt7316.h | 15 +-- 4 files changed, 104 insertions(+), 252 deletions(-) -- 2.17.1