Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4921795rwb; Tue, 6 Sep 2022 15:14:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR43YIVo+ezkSCuRtAuaxzmKWwEvcYE+kCy2qKTLuzgNlAopCu/qgE5qKDg+9l0+m/l/sUMc X-Received: by 2002:a17:906:7714:b0:74f:f771:4e0 with SMTP id q20-20020a170906771400b0074ff77104e0mr345884ejm.623.1662502478048; Tue, 06 Sep 2022 15:14:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662502478; cv=none; d=google.com; s=arc-20160816; b=C3dnGv2suS0Xa0PD18rb6qVCGJFaYnJLa6VtyTXVt3lG6hd/pVpwiT8nXxrY91hSSQ 22RDE8Z8IpD+68Qiu7CZkNsZaFRL4NW6wdhU+yUS/ybEMvw8O9hWPQlTCVDTxEVJqWas LdDXDPSTRR8uT7896sr/o1ZWcut/ezXNMyR6i3LyJcXeRKlqkpW+G5WCPd+kMp8qhyRx yb3qK/TVpHCJzce/abptILZmYf2rdUbtNLYXtWBDNaIIAMMdiZd40in980V88eoorAz3 u9EUK/xY/LT9H33I3ndBDpWw2MdtbT5nTPMp2vW2EfEQOHr8vVkTXp9fkfmB5hgONIOq 2U8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=KXWoT9EuSbOt9nePjiUUdf0oshHpDWDtGCi8pF2h50U=; b=d8PeoRuJZCnCc5HQMbt19+Xmg34+f7FUnrn+s8mb6H877MNf5QwMAa8imi6NpOa5Wv bGU/JwXxXgiiT1A0tQCSDYWHTRdS9pKUgAtgqc3808xAGTbz4neyNy2cUddwwI6bmfjr QwwuGpTrQ8yJ3sd5MaBcZZzA+hFtMScllEKDNbmRQaWUu8NxRDu87hxrFQSTVTXxTAo5 Kj5zkbqYFviIKp0M2oPjF1O5saJxFe8m3tFwGeNhONpe79aYj+d1DgypwMrxOrWUGeCf O+AIvysa1nJYXGpUPQnw53NuGNN2/92wHVm6EFM83dKwuDv9u9/giUG8rQZx24PQj2Il eprA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="L/ZW1aQI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v10-20020a50d58a000000b0043e6a16bca1si9890713edi.475.2022.09.06.15.14.12; Tue, 06 Sep 2022 15:14:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="L/ZW1aQI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229982AbiIFVlm (ORCPT + 99 others); Tue, 6 Sep 2022 17:41:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229987AbiIFVl3 (ORCPT ); Tue, 6 Sep 2022 17:41:29 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 049F09CCE1; Tue, 6 Sep 2022 14:41:24 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id pj10so2203717pjb.2; Tue, 06 Sep 2022 14:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date; bh=KXWoT9EuSbOt9nePjiUUdf0oshHpDWDtGCi8pF2h50U=; b=L/ZW1aQIc7XbaIj/P2WsdtKQeUZstgyo46isMATHBR3E3MqQvPC7yPtIVGzFDYqqqx 6EFL5KIgCXLe6zm1oKyQbiHxz5YDJvct4VS1H0VYbBJ7Csil4/yKKvQ08PljHOlG2XEC kFRMbcYNIfwum6pp6BgryfSBaof3oNoRry95NgzwDMvTtjh5LFV9iVWYDOoLHYwOxOmc BC6hDD32EFH4+Wvi9LLzMOfL4Io0jLT3E9zJ0YfBquFpfR78RXBt0M7TFnTpU2MsxACy ygOJqCRZZslXIbA50dkkY29KCBmu5hpHV4mQBpWf5lg2ddoB8toR23cEZrX/RrJ58G/m yS7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date; bh=KXWoT9EuSbOt9nePjiUUdf0oshHpDWDtGCi8pF2h50U=; b=u35zl9QSgchMzhwLuMNbZmFL8x86vxep42EsIpOCpQ6xy2k/kNv+1ka+OUphdyNsnZ E15ZPgWHkIiwL9uXqu3n1atnKOi15Arc65/Ftaey8BwfnEXzvgS6MQ3RmsqL+gC1TnoP wVKnue15ohpnGl4HzHmoTGLtg3W1/sljFKryrFl284d3XG2KtpOnotM52AL3XWteufx8 5W8HB5EnieGyFyB2PCvc46ikk6gSqTNBRY82nxqKI+7mcFfh7CQSV+r799v9lZo3PrYS cpOnenX8TKlFOhC7vH9Q2RFcxua8FRrlOgK/OaFaQWe0RkOZ5w91tEsix/IJjOdAOt9c E5Aw== X-Gm-Message-State: ACgBeo3hCw6LdQJo++SsO/pWe4LcXA52pVYcO6vDTNdr5RnjsFDdr02A aspcHFgTqhOcbfCARizFHf8= X-Received: by 2002:a17:903:248b:b0:172:a790:3206 with SMTP id p11-20020a170903248b00b00172a7903206mr465623plw.139.1662500483979; Tue, 06 Sep 2022 14:41:23 -0700 (PDT) Received: from google.com ([2620:15c:202:201:abc4:5d24:5a73:a96b]) by smtp.gmail.com with ESMTPSA id w13-20020a1709027b8d00b0016c0eb202a5sm10392565pll.225.2022.09.06.14.41.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 14:41:23 -0700 (PDT) Date: Tue, 6 Sep 2022 14:41:20 -0700 From: Dmitry Torokhov To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Shawn Guo , Lorenzo Pieralisi , Thomas Petazzoni , Bjorn Helgaas , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Linus Walleij , Bartosz Golaszewski , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] PCI: histb: switch to using gpiod API Message-ID: References: <20220906204301.3736813-1-dmitry.torokhov@gmail.com> <20220906210811.5kzdq66eeeauk2d3@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220906210811.5kzdq66eeeauk2d3@pali> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 06, 2022 at 11:08:11PM +0200, Pali Roh?r wrote: > On Tuesday 06 September 2022 13:43:00 Dmitry Torokhov wrote: > > + ret = gpiod_set_consumer_name(hipcie->reset_gpio, > > + "PCIe device power control"); > > Just unrelated thing, I know it was there before, but I saw it just now > and have to comment it: This is absolute nonsense name. "reset-gpios" > device tree property specifies PERST# signal pin (PciE ReSeT) as defined > in PCIe CEM (Card ElectroMagnetic) specification and it has absolute > nothing with PCIe power control. > > My suggestion for maintainers would be to remove this critic name at > all as it would just mislead other people reading that code. I can respin the patch is you suggest a more sensible label... > > > + if (ret) { > > + dev_err(dev, "unable to set reset gpio name: %d\n", ret); > > + return ret; > > } Thanks. -- Dmitry