Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp315943ybg; Mon, 1 Jun 2020 02:02:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOWLSafCEB7kZs01GmBRQYJ/+1/ucR7lz9PHFUIEOspDaP07s9WDBRvxvZgwUe3JbRYsQ9 X-Received: by 2002:a50:afa2:: with SMTP id h31mr20944804edd.213.1591002179500; Mon, 01 Jun 2020 02:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591002179; cv=none; d=google.com; s=arc-20160816; b=o7ICgS2PSjW3/NkiN9lrwdMArFS3IgsVeLHR+QrmEzh/WiGK+5bplEnRa0EFNo2LFJ RzoNxy+V2NN2t0sRlEIhV/zfTSR+ITWwQ7X0PzgWWwZzvCCibyfYtzORKUDXlKEGyqXb LJVf6+OP1hLYydxkfO6Iw7vKt4vULuPewbnaxMlRUW5haULw8E1zIum1g6mB0wAMaHRy Em1ow83UjkWCbqKbBtfK5tPUeAJ38aAS1BIlOKc50fFtwFN4maqmDBisa/NoiIoqr/h8 PbHLes3uVJ2TwZIj/dT9J9ZROt2N/f/Sask0PUPkzz9xyj+eZ4IUnp6xYz7HycxLe5jA ZA1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=bX1PyNJvQSjHzQBF4J9YbR2clXGX6CFAnYtTnhYkdak=; b=ZtdhHGfWSR3yQqIo1fQ4ugQ58407cN4RFrzEGpqFtnEwNvr8OpKtPBKpxOW0qxKj1k tvdwxo736+4Wp09la937BHSitXeBywWfn2b51DnKIEePAfVegFQz/xfsDXyhHIdPxmQ0 +P8IzwYVfb+8vH4/Xvv6okAnt8KcHJBvCFEemqqUom4wngneQlSPMQU9m7nXJ22bBsyi sRDfw90KYaPPytVFIhM7iPAJ1m/nJYNrf6TQAV6VzhAjPaINY2oBrkHvS2a8lX0mRu5d EiMHsyjYQAX1wW89snxle7duhXcbs6z+c42OyOpGg/pTf436W6y4/FH7IVuPCqQTUucH 3YhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m23si9169707eds.530.2020.06.01.02.02.36; Mon, 01 Jun 2020 02:02:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725975AbgFAI64 (ORCPT + 99 others); Mon, 1 Jun 2020 04:58:56 -0400 Received: from smtp02.smtpout.orange.fr ([80.12.242.124]:57652 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725909AbgFAI64 (ORCPT ); Mon, 1 Jun 2020 04:58:56 -0400 Received: from belgarion ([86.210.245.36]) by mwinf5d56 with ME id lkyc220050nqnCN03kypfp; Mon, 01 Jun 2020 10:58:53 +0200 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Mon, 01 Jun 2020 10:58:53 +0200 X-ME-IP: 86.210.245.36 From: Robert Jarzmik To: Christophe JAILLET Cc: daniel@zonque.org, haojian.zhuang@gmail.com, linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] pinctrl: pxa: pxa2xx: Remove 'pxa2xx_pinctrl_exit()' which is unused and broken References: <20200531073716.593343-1-christophe.jaillet@wanadoo.fr> X-URL: http://belgarath.falguerolles.org/ Date: Mon, 01 Jun 2020 10:58:36 +0200 In-Reply-To: <20200531073716.593343-1-christophe.jaillet@wanadoo.fr> (Christophe JAILLET's message of "Sun, 31 May 2020 09:37:16 +0200") Message-ID: <87h7vvb1s3.fsf@belgarion.home> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/26 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe JAILLET writes: > Commit 6d33ee7a0534 ("pinctrl: pxa: Use devm_pinctrl_register() for pinctrl registration") > has turned a 'pinctrl_register()' into 'devm_pinctrl_register()' in > 'pxa2xx_pinctrl_init()'. > However, the corresponding 'pinctrl_unregister()' call in > 'pxa2xx_pinctrl_exit()' has not been removed. > > This is not an issue, because 'pxa2xx_pinctrl_exit()' is unused. > Remove it now to avoid some wondering in the future and save a few LoC. > > Signed-off-by: Christophe JAILLET Acked-by: Robert Jarzmik Would be even a better patch with a : Fixes: 6d33ee7a0534 ("pinctrl: pxa: Use devm_pinctrl_register() for pinctrl registration") Cheers. -- Robert