Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp771333ybg; Mon, 1 Jun 2020 14:06:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyQvcvhrQxH9xCD+LqgF27UQJy3XgD7uaLjq1trTZa3yZocOeBtl+i2WPhfMbm9gJygQWN X-Received: by 2002:a17:906:1a06:: with SMTP id i6mr22183775ejf.9.1591045594632; Mon, 01 Jun 2020 14:06:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591045594; cv=none; d=google.com; s=arc-20160816; b=RssyGgUkjYt3iTm13J8GfTdzVhvzJUucrGN5Y3xlCrkSRG8s7iuTv5S/IM3CpaEC6z Y4y0fTfDxEWInZhsF+BJuhH9vhN6w0R0Sa4Q5T+aiGkz0ylkCy5aEl6zyh/+BDRz6PY9 ku2+SS3/NOrA4V8nlEPAiJuZt8SV0ZtOimDUR34QKcajQjr9Lu8kwKtbCG434ogbZ067 hp/lteNANmmUYgnQyNp2b7pgonNdkWyHI/mKXPF/ByzvgxL2wI1jmEZeKgoPIk36u1J9 mYZDSL9RYQaLBIzqroZ0bOklcQh8PmopqUQSSzIuoy7yPRhyWnbrq6LNjpeqTvdTF831 ie0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=klYhvleN5+bHtn61y7WVGwD1VVLVcs1uWE0ZQPZDGoA=; b=f2H41G0iS62SwTcr3LmeLwc0vKvhC4Iu8qzNpRx8TkxA116lsJaw95EaOWc5THUWlV 8UALkRLHav5xl7HcjOdbIl3lhXzw5DXcyuaoR1pgmoxcGe8iTQsqaVZ4Skwhjt37gMC0 J/jl7B2xiVlLsxxdhBF/UbMYR5jVHsXGjx/H9gvi65qlYnyoqXxxXOVHTe6gwmVL9+29 YutbFvsr2qgiPDj005aVu7nFKj1sgwalBrIgRURK4xDf53MMnR7irb4JPkAoFdFpJvF/ WWghZNHABNeR8JckLazx09l985soLAt0rx2ENgzHHHbmxhP0p3AAmvDw79g4AfpnU3B+ wPcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=XpxeXoez; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d18si311523edj.393.2020.06.01.14.06.12; Mon, 01 Jun 2020 14:06:34 -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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=XpxeXoez; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728483AbgFAVD2 (ORCPT + 99 others); Mon, 1 Jun 2020 17:03:28 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:37380 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728467AbgFAVD2 (ORCPT ); Mon, 1 Jun 2020 17:03:28 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 051IGOkB133702; Mon, 1 Jun 2020 18:31:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : content-transfer-encoding : in-reply-to; s=corp-2020-01-29; bh=klYhvleN5+bHtn61y7WVGwD1VVLVcs1uWE0ZQPZDGoA=; b=XpxeXoezca5asoGN6eYmhtqWCb0uWLJ+p24yfEsWCpdUE+jBOyMKCU+0HfW8ABik6+5D b/9JkCwWFahi4LJ5zZ8D9LpQcUbeZVtfWaDGSCawUrSVAMyPlrnwo4McWwN2WxLTEH3s nvsNw2+qt4H8maj/l24WmychyKJAUJSGR0KDsVSUyDSyYPyXye0j9Kq1UaFu3WAIhpyV dIQuYbWKfpTbwQfkLxixpmlAQp9wQVoayGzRRGW8VPww8YOaVK6j1Y9XkQtvocbMs5mu 20q1gicdQ8F1TqrcBaZzgxslNayWq5KUcYdI/19OB1499ZgF/8GfwGmobQWtzUztoz/l GA== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 31bfem05wg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 01 Jun 2020 18:31:14 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 051IDrYw029652; Mon, 1 Jun 2020 18:31:13 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 31c25ke6xs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 01 Jun 2020 18:31:13 +0000 Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 051IVBmD031819; Mon, 1 Jun 2020 18:31:11 GMT Received: from kadam (/41.57.98.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 01 Jun 2020 11:31:11 -0700 Date: Mon, 1 Jun 2020 21:31:02 +0300 From: Dan Carpenter To: Christophe JAILLET Cc: Robert Jarzmik , 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 Message-ID: <20200601183102.GS30374@kadam> References: <20200531073716.593343-1-christophe.jaillet@wanadoo.fr> <87h7vvb1s3.fsf@belgarion.home> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9639 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 spamscore=0 malwarescore=0 bulkscore=1 mlxscore=0 phishscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006010137 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9639 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 mlxlogscore=999 priorityscore=1501 bulkscore=3 phishscore=0 clxscore=1011 impostorscore=0 adultscore=0 spamscore=0 mlxscore=0 lowpriorityscore=3 cotscore=-2147483648 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006010137 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 01, 2020 at 01:31:23PM +0200, Christophe JAILLET wrote: > 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. There is no concensus... We should call a vote on this at Kernel Summit. :P regards, dan carpenter