Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754505AbaJUIwQ (ORCPT ); Tue, 21 Oct 2014 04:52:16 -0400 Received: from mail-ig0-f174.google.com ([209.85.213.174]:56094 "EHLO mail-ig0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751824AbaJUIwN (ORCPT ); Tue, 21 Oct 2014 04:52:13 -0400 MIME-Version: 1.0 In-Reply-To: <1412160393-5848-1-git-send-email-pramod.gurav@smartplayin.com> References: <1412160393-5848-1-git-send-email-pramod.gurav@smartplayin.com> Date: Tue, 21 Oct 2014 10:52:12 +0200 Message-ID: Subject: Re: [PATCH] gpio: Switch to using managed resources with devm_ From: Linus Walleij To: Pramod Gurav Cc: "linux-kernel@vger.kernel.org" , Alexandre Courbot , "linux-gpio@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 1, 2014 at 12:46 PM, Pramod Gurav wrote: > This change switches to devm_request_region to request region > and hence simplifies the module unload and does away with > release_region in remove function. > > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: linux-gpio@vger.kernel.org > Signed-off-by: Pramod Gurav Patch applied with augmented subject. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/