Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp822682imc; Sun, 10 Mar 2019 23:28:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMlLRNba4iwq7MohoygvhmpGV+rj/03YLsxXeAIKQ5PSU6mr7BalMAhGZH2Dl3KERZXLar X-Received: by 2002:a63:f412:: with SMTP id g18mr28809917pgi.444.1552285721080; Sun, 10 Mar 2019 23:28:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552285721; cv=none; d=google.com; s=arc-20160816; b=eEnLE36gEw9pdRyJjqgx+b0EnivYVXA0MXxC9SPfczYg5lYn3NBvJ2eMiULgdLi8Mb fNUdErRH7E9vTntoBNKEZceYsVwBfIvdcgl9jfksij++838TKmQeO9Doca6n27Vy7nyV vYvyd+kx5/p0+EfyTyQSR6XXUQCjCjF5QNN2NxVngx7OVePt0vAggYbwomvYS29DETXD XNc7OM/XUIclxnfdcfwTf7Qkm87JRWgjEljjBXaX8RNbvkjnkDmnlYLfKuBkY8MrZw2/ U9ozFKeirnudGns1S/TxSDYp+feRDGNNEzNIkhHCNP/ru5/tSbszUs4lQ2/lKF60xmH1 KIwg== 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:cc:to:from:dkim-signature; bh=ZxNpXdY5s/j8SDDG+kt/vul7CmvFZi2pFDli+Pvm+HM=; b=KZw0b+Su13JvhVul+WUlVY8BaHESzZ6725qoM5S4nrfTH4HSNCs5IeU/GzcEuk/dVD 5QRvCLBETpSX/zQ5NX4ubANNSklAkMpE2Z6NvE7C+9qznLTkdRGyOogyjGRMa9Ft70It qf07yTauaUR5nsY9VleoUnP3D3S8+iM8RVU/HiZvplderJCtcmJUbO2Zp8DhO8atj8Sp 54JkqTxY6Mf2Bs45cDXjEWCG7MczZ60/XRwg+BagW6FA1XtzRLL6P6wbY4R9vLgfH+Ab CXTL1P0OQG2uX+vTSH4HfAa4zEz00HnM95fzrwV9HywlcL+rFL2a1cBxcsi9szJPLBl3 AGRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WNR1p1b4; 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 f23si4493516pgl.225.2019.03.10.23.28.25; Sun, 10 Mar 2019 23:28:41 -0700 (PDT) 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=WNR1p1b4; 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 S1726559AbfCKG2H (ORCPT + 99 others); Mon, 11 Mar 2019 02:28:07 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:41995 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbfCKG2G (ORCPT ); Mon, 11 Mar 2019 02:28:06 -0400 Received: by mail-pf1-f194.google.com with SMTP id n74so2966371pfi.9; Sun, 10 Mar 2019 23:28:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZxNpXdY5s/j8SDDG+kt/vul7CmvFZi2pFDli+Pvm+HM=; b=WNR1p1b4jGS080GvFHdh4fmPYg0fODU/fds3CesUcFvyJXitjfIdQxdZbMmc8Dt9QV KvfhS/qHHSijioP5EMkwgxE4d+jF6YrO6jW/rwh9zVmzllJ++m+gANKrnQl76OmiR3WI B4KM0Bqh+ArVaX06o+sJRGPrN0SnJi7dXhvwlh0nTIY/7fYQp6zhvzgweL+ubMhmmYTR njq0RQ7mszZJcqplVapuPlBfviY21pK66Ags1+wzhbiO3e6pwl/jiJkVN1AIwXWraA3s PZkI9P+ch0+oAZM6BTKDCbwxEqboQ7B0VHenEgcU4QCNNJ8oVWCYC1OxeBstW4S8X8RX JqOw== 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:mime-version :content-transfer-encoding; bh=ZxNpXdY5s/j8SDDG+kt/vul7CmvFZi2pFDli+Pvm+HM=; b=ek1wNmXleA0q8LERfevcg2lwBifJ3mUwE0CwC2KkPbG5J7zn9zRFji5Aniyp0eSQvZ I0/1UqF/w0AYae6xVvMBJX9rJdVSYARgdSCir905rFPAg1X1mM3byY5p3KmprfTokR4O 4pKJ/4ylDR4bbZFM5IlBznTCjBe1WNsA919ZoF6n3103nCBVsjWLTq7YwzheGc48vJdw JPP4r+oj5sTcCtGLw99XyOEjVexagMDuH6vZq2KXGthNvMz70dZNcDr+ChYrtTgObIqC Co1YtPkpq3Cg6Sw0PUvGqVHg9LJ7vZLYK7kXzx1XS7LdSFxwLSPnEwVC0uqMVQ3J6Qll ZQGg== X-Gm-Message-State: APjAAAXyFKM2rjj38avX7r253RRAS1ZBqI7NR3U9wq7z2ddKJABEEizM QAAJcjX7YHfNLjfg+rSH6X8N4ZscLrs= X-Received: by 2002:a62:4793:: with SMTP id p19mr32294567pfi.76.1552285685171; Sun, 10 Mar 2019 23:28:05 -0700 (PDT) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id f192sm10241679pfc.180.2019.03.10.23.28.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 10 Mar 2019 23:28:04 -0700 (PDT) From: Andrey Smirnov To: linux-gpio@vger.kernel.org Cc: Andrey Smirnov , Linus Walleij , Bartosz Golaszewski , Chris Healy , Andrew Lunn , Heiner Kallweit , Fabio Estevam , linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: [PATCH 0/7] VF610 GPIO fixes/improvments Date: Sun, 10 Mar 2019 23:27:30 -0700 Message-Id: <20190311062737.6652-1-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Everyone: This series contains a number of fixes/improvements I came up with while working VF610 GPIO code. Hopefully each commit is self-explanatory. Feedback is welcome! Thanks, Andrey Smirnov Andrey Smirnov (7): gpio: vf610: Do not share irq_chip gpio: vf610: Simplify vf610_gpio_set() gpio: vf610: Simplify vf610_gpio_get() gpio: vf610: Use devres to disable clk_port gpio: vf610: Use devres to disable clk_gpio gpio: vf610: Use devres to remove gpiochip gpio: vf610: Don't use explicit &pdev->dev in vf610_gpio_probe() drivers/gpio/gpio-vf610.c | 85 +++++++++++++++++---------------------- 1 file changed, 36 insertions(+), 49 deletions(-) -- 2.20.1