Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4499109imu; Sat, 19 Jan 2019 10:48:02 -0800 (PST) X-Google-Smtp-Source: ALg8bN41qlxhvFdLIoEtYsUengwar/8KaTAWEgKJB5Llvphz8aMp0J9MmuOLIxrvRBYFHq1eydHi X-Received: by 2002:a17:902:209:: with SMTP id 9mr24185377plc.288.1547923682062; Sat, 19 Jan 2019 10:48:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547923682; cv=none; d=google.com; s=arc-20160816; b=CwqFIdkFC6AZMF0DT0WaiPiip4+ymvaQQVcsLyWkBfnapaTDBybGBx5aZPYyPy2GeX hfVANZaYCx33rDsZ2roBt7V7MWx+mDfbD4E+HtK0C6mJxed0Oi+KsHuEA8vLnLfJJ9jT W/gTZjff+gTZLbAqGl6kDd00xSzUIUnu826ulN0Lwk4t2rQV3XcrSTd5EKqagO8MVhOi 5L4lyDyJHXuz+d39NnYa3FB8Ts6Hh3pvhiiqMsB3w1ygMOLtNnf/GpkHnILx/NGcZLiH 5ElFc5ZHu62eULT7pwTE3JdhWpOjl3BgirCD13gdPz2Iz2g7eYQHTayHyPwS8D3VJ3zg asrg== 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=ntPlN8O5ix9MTWk+pNPs1SfGLLi/+g0hRkSJC0iaDn0=; b=Vzxar2t6ZJUmnIg9PLKRtzP3j4VbiDEEaPuX6FZxUKeSI+syS1aItY2LfekwPR4kRS exOUfHNY984dfrfKNvkWlJsVBBfngmfAQIJgd2v2X0P3FNht2fhORbnq/z7cxd1M5hS+ oryHZemqDynInk6aRUMAwMKcYOlSxLOgPAvPzxpDZ2k8jnq95gsYRDkGqBp+RgWocO7s 5PdLJ3BigMtpY0s7QO7T8twi0v3WIhR97fVHlVA12pOBVJcKxBqcOdu6zSiviE3DDzUl uD5FQFXd86i5MoB1tD1TC1X2Gr31TWphTEoRpdvDyyRdwQfIaIA4pts9MPrllaQzAH7I W4Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MbMppkYu; 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 b5si7423920plr.355.2019.01.19.10.47.44; Sat, 19 Jan 2019 10:48:02 -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=MbMppkYu; 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 S1728855AbfASSjn (ORCPT + 99 others); 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-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-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. 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(-) -- 2.17.1