From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752740AbdHIMZN (ORCPT ); Wed, 9 Aug 2017 08:25:13 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:36624 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751945AbdHIMZL (ORCPT ); Wed, 9 Aug 2017 08:25:11 -0400 From: Bartosz Golaszewski To: Linus Walleij Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 0/8] gpio: use devres for irq generic chip Date: Wed, 9 Aug 2017 14:24:59 +0200 Message-Id: <20170809122507.11149-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.13.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We now provide resource managed versions of irq_alloc_generic_chip() and irq_setup_generic_chip(). Use them in all relevant gpio drivers. v1 -> v2: - added three patches which explicitly disable driver unbinding for non-modular drivers, only updated those built-in modules which already use devres in their probe() functions - left out the sodaville patch since it explictly says it doesn't free any resources Bartosz Golaszewski (8): gpio: mxc: disallow unbinding the driver gpio: mxs: disallow unbinding the driver gpio: sta2x11: disallow unbinding the driver gpio: sta2x11: use devres for irq generic chip gpio: ml-ioh: use devres for irq generic chip gpio: pch: use devres for irq generic chip gpio: mxc: use devres for irq generic chip gpio: mxs: use devres for irq generic chip drivers/gpio/gpio-ml-ioh.c | 12 +++++++----- drivers/gpio/gpio-mxc.c | 16 +++++++++++----- drivers/gpio/gpio-mxs.c | 15 ++++++++++----- drivers/gpio/gpio-pch.c | 12 +++++++----- drivers/gpio/gpio-sta2x11.c | 14 ++++++++++---- 5 files changed, 45 insertions(+), 24 deletions(-) -- 2.13.2