Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1791147imu; Sat, 8 Dec 2018 07:18:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/WsbJroHJBaN+vJlUfpadrfSHynXl7AhSmdMa9mxj4SiKN+b1GaV4A8g3f9STSMZGXU/K0t X-Received: by 2002:a17:902:a5ca:: with SMTP id t10mr5966250plq.139.1544282298250; Sat, 08 Dec 2018 07:18:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544282298; cv=none; d=google.com; s=arc-20160816; b=le4wxHEAqYmIZsGtSh6AFcd0ltRHaCq8k/h4gaceS3YAK+jrxMWzoT/1azK+12pBPD 6q15bfP/KXTZaGzZNCAuc6S+VAD1OXO16sIkq7FJcq8O6J7nzYqhiuJJTyJOh7Mz2OBm /cJOd6kfKlQWXgUw6eZ3M2SkbVSMjW87Ywt8cvwbkWKumykzFmWNEKnZTt9IdhNki5iu pDyCrZk+xoLCjePPfLVMi5ZzDuPr6eEI3JrVQBp3HAt99ebZjGm8RZKqBuEr+mxU09MD d+ibGdl0rQvYbWC2Gy/zVEVwLPzbbzGT3c7qgJC+cHH1oUg8EDsPoOpVYoEaZ/Y3nk+w 5K+g== 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=sLnczKa2VRMKFvIO5jbMnrJ6/brGyJcRR9moHRU7ftU=; b=FrvQz19tLXe/DdQ9LpOpW1DYVbye9uIfwpPdzFVWICxZoESlup2kLdSEpguCmPFysg EEqrcid2rB+oAuogzZ8KBBC9jR9cliIg1Nh6FDS9nvxjF3TIGoz+bvx8YmsAmTxVl/5Z 734ehj7OzTYEu5lBcG73WnBkNEaIj0eDvCWSjuW/lmjksshB0wWDWzrPtYg+nTCfUg0C gxbq5LhtUuPgqZUVBf60YdPWt5bBNtNg5n8mFj8tUq02NsT0F2QN3lPHyE2L7S5ZlVkE SH1fTlyg0ZCYbadNgNsIck93h0KYNym5DWKbZBdzw5xFQ/VwC1WUq5ZwJBsAsO9Qa+6F Mp0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Y51D5+vQ; 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 c26si5334360pgm.210.2018.12.08.07.17.46; Sat, 08 Dec 2018 07:18:18 -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=Y51D5+vQ; 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 S1726165AbeLHPQp (ORCPT + 99 others); Sat, 8 Dec 2018 10:16:45 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:44891 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726147AbeLHPQp (ORCPT ); Sat, 8 Dec 2018 10:16:45 -0500 Received: by mail-pl1-f195.google.com with SMTP id k8so3174724pls.11; Sat, 08 Dec 2018 07:16:44 -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=sLnczKa2VRMKFvIO5jbMnrJ6/brGyJcRR9moHRU7ftU=; b=Y51D5+vQvCCDD3Ik/w7ZWCRzktYJYYSi5uZLj/QLcTWNSfc25UYOgPPHNoPIdqGgtP EUF2Q/iP3wQ6JhWbQhPRiLwLmS4nOsa4cGjb0QIcpBDhsH+F3iLNv1yoPZvqK/Q/l/jf EBNCuvsWsx+R8tJDFTPsD1KOtlPa1ENUAaUJM02D+v+RHH0a3aGOOwaqfKqIbQwVzsfp L1RR66gSa8xA0UTzsVWTElwreR5BZdXnQG1mZot1aZ8XDmYN3/700brVN15txOmsIoqf VQdavUorwAnDjZXfmTuy/Ov8udT2MnLfjhmlx6tn1TYtTh+gmYv5FexfGI51p50uGWCv CFJg== 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=sLnczKa2VRMKFvIO5jbMnrJ6/brGyJcRR9moHRU7ftU=; b=fvNEAhHpezJYpqc+aPr/khgFHJyoJ7br0Br7c2LKMbDe6mCRPK8z+frbkYrcgICtta tsV0Fl3d2uHl8EEP3wW878b2q61x0ZpFG41LJ9BewIogVQZ0bCTt4zL2qW4h+rzs7l0K DagFdoV9gFq9JlHoKriipXcELLik3pLdrztWfra/9iTIeCuMkmWZPPwIgvaV7AdjTx8T TECsB50mUJr7JWE9ypneGvO7ByHHqkAn5PAxoQrf33ZIcMr0dVbuoKuK4irxaqwkr97x dZ9Yi6ab/yI0W4GgTYVThxNB5nTU+l8eWgWZKxG6ml5G0d/yoOstLnVPDNDV+HkW9GZw J77A== X-Gm-Message-State: AA+aEWZjki2T+4vY18QMf1ai1B1FoJJd0cP9ZEaFhSFHmNfH96tZJOZQ o5ccixzgyCOoETY5G5GNUoE= X-Received: by 2002:a17:902:8e8b:: with SMTP id bg11mr6112402plb.332.1544282204244; Sat, 08 Dec 2018 07:16:44 -0800 (PST) Received: from localhost.localdomain ([103.212.140.153]) by smtp.gmail.com with ESMTPSA id e23sm9774091pfh.68.2018.12.08.07.16.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Dec 2018 07:16:43 -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 v3 0/3] Remove platform data and introduce DT bindings Date: Sat, 8 Dec 2018 20:46:35 +0530 Message-Id: <20181208151638.8759-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 introduces the use of device tree bindings for setting up the irq_type and removes the usage of platform data. Also, code related to interrupt is moved to the new function adt7316_setup_irq to unclutter the code in adt7316_probe(). A dev_err() message is added to give more details about the error. Shreeya Patel (3): Staging: iio: adt7316: Use device tree data to assign irq_type Staging: iio: adt7316: Move interrupt related code Staging: iio: adt7316: Add a dev_err() message drivers/staging/iio/addac/adt7316.c | 52 +++++++++++++++++++++-------- 1 file changed, 38 insertions(+), 14 deletions(-) -- 2.17.1