Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp835423ybg; Wed, 3 Jun 2020 15:13:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyK/B67GGcGub1I4h0XbM2PvfTIWBCRZdfBBef2eKVfSZz0nM1q1hzeJWjLd8K0yoZOcexF X-Received: by 2002:a17:906:370a:: with SMTP id d10mr1253029ejc.433.1591222391694; Wed, 03 Jun 2020 15:13:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591222391; cv=none; d=google.com; s=arc-20160816; b=kWOSGFQrZMNfM9vBNLcRv9b0+PxUKgy4JfaiqeHznCJ8IH1zUt5QRv8XyjlLC4o7Z4 kQRYYzIUmE6QwOBh7EflVYsdZg6BFYnHpRoijqj+sISKVk45Myg8WpxqfVy31zYLnl+K A1ylFdwX04JYXYqQnfZlK5bwbDmckWhFy32DuslSGdzpgr2tl8rJNPOXBD7KwShkoj28 xcHCzTCDR76AJ2mZ2ZFJlS43AsTHwUXG5REPxaknn2S8wUUQiuGLZuoETiHXn1XJZ66q EFXTGTyUmM5pKgm1KiLl1LStOvrciWVFBn0GJSWGndpjelJwu/kdmXdpA0Ldz0X3Q+Sp 5Y2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=cGmwYW9BzpYkE3b5BXMa4x8r+iWYDMrACAFEn5/TXJs=; b=BAQw7tqBluo1K7XRyPECz2ylq4p79ad2Js6RT1kRJ9efP8vCWCVmEGDHqz6nNI1iVy aNP1xuhBVxOMzLjwjTRayPIi81iYlr43/MTjP0GUpfvIjRq+2IOfL/UJQkKgRDQos0tB 2sCav+bi2eIq20COk9jYHBRknWGZUAljRvRImCk20DwJOXfahi7asbaBF6rZ3VmbVTns RobgSI8kRIBTJhLk9Ircp5honKxbkEb+/itGVJhGQYJI7ezk4fdKtBtlPjE18yK9CSXO MHIqSsc13DznVtO80b4427BRw0p3X8ptNLa528MnqI3wbmCqnrUcYuwHJ0Q9ZWbuBso5 Na6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HKtt7Ce2; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w17si431003edt.490.2020.06.03.15.12.48; Wed, 03 Jun 2020 15:13:11 -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=@linaro.org header.s=google header.b=HKtt7Ce2; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726735AbgFCWJE (ORCPT + 99 others); Wed, 3 Jun 2020 18:09:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726460AbgFCWJE (ORCPT ); Wed, 3 Jun 2020 18:09:04 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84C44C08C5C0 for ; Wed, 3 Jun 2020 15:09:03 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id h188so2311947lfd.7 for ; Wed, 03 Jun 2020 15:09:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=cGmwYW9BzpYkE3b5BXMa4x8r+iWYDMrACAFEn5/TXJs=; b=HKtt7Ce2T/uv0uuk+ikmeaezZFR7KV+O78D0r/pRwJ/pvjEvYLfSpoVYCPmGMlXgAH vklJDoXat2X4tk+UWGiPrV1fAJzjDYjto173ALf43iPuLmlA7XTETrfM1n42QfDFYA6G lybqZRxRsnxahb0rFMHSsWDGaHfUwLYJcRCM3DQs1xpf/3lnHy6DC75yQNYuwQT7hyC7 aI3VznFrKb81GMJMV34Mg5laOi3kTzCSe4MyP4nCHPbGBrMF/l/O5CUyDc96d9qfMTyw /u1HgOiHC0+TbH7IDV7ts5kgOQS0aTGs9WtayvOuKAcQsbrJtu+D4ZrcZ7BbOqgXazYA Sdzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=cGmwYW9BzpYkE3b5BXMa4x8r+iWYDMrACAFEn5/TXJs=; b=iLif/BiDZrjDR1OrWuXMTCRZ1n6V/z6O2inrFylhJahlNyJfEQPY8kIJjEvDk56EHm l0l86sbu21Sv1PBkSpdFkVvpnQJg2mtToPcnejmvXupA5ixohL8xoSZy8ZJLgc0hC59F /6OHWpq56bBr+XFSmQmNBnzxyzphLvd8KtM+KriK4rMyORt4Hlce2cFAbmuX0XTBbETF yg2+XaLsdjdjBcgGkTRL77hu4R20VZ7FFhoSGhV+L6oSEMd31q5n9qkhHVjowmhVbBkQ TwHZw7F9WioZz9s0ScHhfa2WrOOUJM71bXE5T4sgFG9J9ZvYhYOIxl9ONcv+Ym0PY40f lLUA== X-Gm-Message-State: AOAM531dDnFvH77t5TxG5HZHGn8gmA3i0/ucqt/H50JhYWmlDD9+QpHF +Jknt+1Gv444wPSQpdtzSp6FbMZpzowwytd7SC+49w== X-Received: by 2002:a19:c8cb:: with SMTP id y194mr820722lff.89.1591222140898; Wed, 03 Jun 2020 15:09:00 -0700 (PDT) MIME-Version: 1.0 References: <20200531073716.593343-1-christophe.jaillet@wanadoo.fr> <87h7vvb1s3.fsf@belgarion.home> <20200601183102.GS30374@kadam> In-Reply-To: <20200601183102.GS30374@kadam> From: Linus Walleij Date: Thu, 4 Jun 2020 00:08:49 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: pxa: pxa2xx: Remove 'pxa2xx_pinctrl_exit()' which is unused and broken To: Dan Carpenter Cc: Christophe JAILLET , Robert Jarzmik , Daniel Mack , Haojian Zhuang , Linux ARM , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , kernel-janitors@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 1, 2020 at 8:31 PM Dan Carpenter wro= te: > On Mon, Jun 01, 2020 at 01:31:23PM +0200, Christophe JAILLET wrote: > > Le 01/06/2020 =C3=A0 10:58, Robert Jarzmik a =C3=A9crit : > > > 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 p= inctrl registration") > > > > I was wondering it was was needed in this case. > > The patch does not really fix anything, as the function is unused. Or i= t > > fixes things on a theoretical point of view. > > There is no concensus... We should call a vote on this at Kernel > Summit. :P Fixes means it fixes something that was wrong in that commit. That's all. Whether syntactic or semantic or regression or serious or not does not matter. It is also not compulsory to add it is just helpful. If it is a regression or critical bug, we also add Cc: stable. Yours, Linus Walleij