Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1043472imu; Fri, 16 Nov 2018 14:49:27 -0800 (PST) X-Google-Smtp-Source: AJdET5fMi5dRn0+of9aCalo5tBhFdgih5g6SvcCINiCYr3ZPDLkcFvOPB37tGd/aX0yqkt6ILCII X-Received: by 2002:a62:6799:: with SMTP id t25mr12960483pfj.139.1542408567626; Fri, 16 Nov 2018 14:49:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542408567; cv=none; d=google.com; s=arc-20160816; b=AGDwLtdR+isLlc3SSYX/Ea7vnCcAFDsDbx3PvLhzOrb1dYtFrnLdJmKWvL6zOIeGhl fYu9tznvnKb8TF/HsxGHbTkuWqbUqvA+fjWg6qU4E50yCgqBY+WDN9w5TlngxL8adQs/ Ltz+tOKErQG2AJXQBFtKg9mDnvMvmb1svP4P/dozHH8CSJ+ynhgseEmXUq9TDKhSy3jK rXbdAo8UP8FUy+IZ1zG2MeeRNVJdwX1vghgbaHTiuFGTzPoN1YIoXATA9Ioo2qPhE927 lqurXaDmHLjlwVVqHvqM6X3YUyCV6Jbmu3hiK7Hz+Sye9Af4G+9v7rjWqUaXEWEaIpHJ +Ycw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=AsXz0h6YmLD89vE09fzjRHMErhEC2L65Q2l0CMr+qu4=; b=X8qij7ohvfXG6cPxTY3gfTpKLCxPmxgIZ8VY3rBdC33gvVKMUYc6pFJs1+70Igqw9m JKgqzhGf+olPyBTUs/4gVArVDC+D9gBCOBVpwWUrNKcaIo594CSR7AIH5lra613mcTgn uZgl3lbSKxjusTpS3FMa2BIXgSN9HmDimTJ0a6SwB0gbH9QJxsHIlcSShGcoVrPmZ6/O LNT0cduS+cnBn/iqowUSByRCMAdFADkb6itxMD/wNAREH2Vk/zz90ILNRJAYAs9rg+NN IJkketh7ViWKa9XePEHrDEAbFkjCsGawi1LY4pHWxn5xIV5wmiRQ0vuQra/ffabHMx3D eefw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="tXKd/0Xu"; 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 f126-v6si30284831pfa.1.2018.11.16.14.49.09; Fri, 16 Nov 2018 14:49:27 -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="tXKd/0Xu"; 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 S1727803AbeKQJBZ (ORCPT + 99 others); Sat, 17 Nov 2018 04:01:25 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:33264 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725995AbeKQJBZ (ORCPT ); Sat, 17 Nov 2018 04:01:25 -0500 Received: by mail-pf1-f195.google.com with SMTP id v68-v6so12065668pfk.0; Fri, 16 Nov 2018 14:47:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=AsXz0h6YmLD89vE09fzjRHMErhEC2L65Q2l0CMr+qu4=; b=tXKd/0XusdWXGWNu3ZmXrOHoEXseNMmbXrUxaonTH8VCbubkxvJzNL56jCg8KTwJlv kXS7zXHbwPqrKdpR+zwZ5R0QE/z/wWvMQi7ub+/sgT7i0kEFRDic9B15u7XzA/BMbpny CAIbRah9AtLZ4mgrBTDnTzmeH4EtHNW1frIO6CJsyFi2rX7w+KE+wmI3r1Uu+rer4Peg F1pA9Vn1DD/AMh4LxUNDdTw2MdtJrRhihc8KYi6HWJ9aZZvHBGKzOFYPt1tXAU/KHCZP /g/tqhCYTI1oMxBKgNJf4u36hc3wJIgQu0LGsXk5RDucAMar0zDATCBRK8zBmdoPNmJg yPMA== 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:mime-version :content-transfer-encoding; bh=AsXz0h6YmLD89vE09fzjRHMErhEC2L65Q2l0CMr+qu4=; b=ZJOmCdXanCOa2Kx4ROqTPZQT7K9JRy0KFhry+iuiYj5aOrGq6YHmvbW2M9hgIblkce moA5JNEksqaVa/RiXErQ/eYf6nC8YYfiYTV4MlRK75ieC8wY+1qLeBKgGLsi5QLq/E+Q /rQZYSbHc95eRxJfZNfLZODUkeGUKZ2QGMKtTEhQ9o2FSj9xkiCYo7mJ9oJnoKRzwVTO bBBdLptX8naiPjvzTswhtTjSqjYDX60xovqG3i4HlN/sFfnrb8nWd474YpSNNhit96Q5 uV8HQ12II0St9gJ1v3H8oR7KjReZ6laLBvfz8/5LIudq4x194lSC3kQ74WcVhiUttaDm P2RQ== X-Gm-Message-State: AGRZ1gIRBrZxbnH2K0pq3SWGuRdl0mqYGHuGMAGze01zRdl2skLZPzbX K3oZlb3c3e+Gr5uQYOdseo8= X-Received: by 2002:a63:b34f:: with SMTP id x15mr11821804pgt.243.1542408429964; Fri, 16 Nov 2018 14:47:09 -0800 (PST) Received: from localhost.localdomain ([103.212.140.154]) by smtp.gmail.com with ESMTPSA id p11sm26282018pgn.60.2018.11.16.14.47.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Nov 2018 14:47:09 -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 Subject: [PATCH 0/7] Remove platform data and introduce DT bindings Date: Sat, 17 Nov 2018 04:17:04 +0530 Message-Id: <20181116224704.24294-1-shreeya.patel23498@gmail.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset introduces device tree bindings for adt7316 driver and removes the usage of platform data from it. Also, it sets the data field to it's appropriate value in the i2c read function which was nowhere being set before. Shreeya Patel (7): Staging: iio: adt7316: Set the data field Staging: iio: adt7316: Add an extra check for 'ret' equals to 0 Staging: iio: adt7316: Add of_device_id table Staging: iio: adt7316: Use device tree data to set ldac_pin Staging: iio: adt7316: Switch irq_flags to a local variable Staging: iio: adt7316: Change the name from irq_flags to irq_type Staging: iio: adt7316: Use device tree data to assign irq_type drivers/staging/iio/addac/adt7316-i2c.c | 19 +++++++++++- drivers/staging/iio/addac/adt7316-spi.c | 1 - drivers/staging/iio/addac/adt7316.c | 39 ++++++++++++++++++------- drivers/staging/iio/addac/adt7316.h | 1 - 4 files changed, 47 insertions(+), 13 deletions(-) -- 2.17.1