Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp403474ybg; Mon, 1 Jun 2020 04:36:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4y8mx8f7+fyOD7bV1pJdEn82gCnCviWg2o9jdVZC9d3q2/nQoPUK+kt+MzXP05oLGUgcX X-Received: by 2002:a17:906:6d4b:: with SMTP id a11mr10940602ejt.108.1591011406168; Mon, 01 Jun 2020 04:36:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591011406; cv=none; d=google.com; s=arc-20160816; b=BGDkIRrwyBgI+7EffK+PsZlv5cspV2U1YA2UzqhHwR8mUp8ELmzol4nqzKO8o3Smgg yRSDaof50PHIQrNjrIYL8SIR+8oNO4XpQ5nPvarCJAo34mc+FK2remkOf0wX5X6J68E9 hxQujkTdyAyhfCkPAjQc60racDF+tSnM4hFUhNHB2wxpMCyGRWOtt7/CPJtNFjbohlXX 0YocWW2OTAkawBc+lvQB7ZGvksCvhUU5vMzFhahAjXBAUM6cDYKPcWuTn8GhMVWaj2LT +7hUBxvf59RpGQfZEuhAdqhXqW5seYo2TqcYUeY7/silf3k0foon0u0v8sz3+WFfKNhc U7NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:newsgroups:cc:to:subject; bh=kn0rWqroS9sFy6K1VKJP3rVoxrQZ3OyP1b/v+42l4Vw=; b=r4v7AIXKguB6iVOiHEM1mJQ0x44AU0iu9Wec6Pnjr8rt5Niwjf9VB26UQXO+WiaDQ9 +fi8gBCKrx1R+b40Nt+9ent1J9XsB24OSmb86vi+xmAKaSa3w9i0urPi1VCrZnGPyfS2 TCxe25eVf4wwv5XHcEZ8rPK0rCJMQPnFE5z01A+3jO242Onz6s/5yqqXAlNKxvp7QQxB pGsPWMHNle02rJfLjILUjc03H5JAMUap7zBOzvLKeHMZm3pl2h2aXkWqaffWCQQLd26z w8ZVmMG5INtGgrINk30rPJDpHnf7zzFQr3eW4ZZbP3E3SWdq0B29jP4vhhqlVlLHNNwO u5PA== 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 a17si8800852edx.507.2020.06.01.04.36.23; Mon, 01 Jun 2020 04:36:46 -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 S1726038AbgFALca (ORCPT + 99 others); Mon, 1 Jun 2020 07:32:30 -0400 Received: from smtp12.smtpout.orange.fr ([80.12.242.134]:45807 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726124AbgFALc3 (ORCPT ); Mon, 1 Jun 2020 07:32:29 -0400 Received: from [192.168.1.41] ([92.140.207.208]) by mwinf5d35 with ME id lnXo2200Y4WJoZY03nXyvM; Mon, 01 Jun 2020 13:32:27 +0200 X-ME-Helo: [192.168.1.41] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Mon, 01 Jun 2020 13:32:27 +0200 X-ME-IP: 92.140.207.208 Subject: Re: [PATCH] pinctrl: pxa: pxa2xx: Remove 'pxa2xx_pinctrl_exit()' which is unused and broken To: Robert Jarzmik 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 Newsgroups: gmane.linux.kernel.janitors,gmane.linux.ports.arm.kernel,gmane.linux.kernel.gpio,gmane.linux.kernel References: <20200531073716.593343-1-christophe.jaillet@wanadoo.fr> <87h7vvb1s3.fsf@belgarion.home> From: Christophe JAILLET Message-ID: Date: Mon, 1 Jun 2020 13:31:23 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <87h7vvb1s3.fsf@belgarion.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 01/06/2020 à 10:58, Robert Jarzmik a écrit : > 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") I was wondering it was was needed in this case. The patch does not really fix anything, as the function is unused. Or it fixes things on a theoretical point of view. CJ > Cheers. > > -- > Robert >