Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4671026rwr; Sun, 30 Apr 2023 12:21:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5PBoE7gznHNfmSqjcuco/1YJjh3BX4VDUqo+iaL69R9lZoijxEXKxm0JXbqXDMnLC+hJ9V X-Received: by 2002:a17:902:ea04:b0:1a9:9ace:3e84 with SMTP id s4-20020a170902ea0400b001a99ace3e84mr14640701plg.1.1682882489201; Sun, 30 Apr 2023 12:21:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682882489; cv=none; d=google.com; s=arc-20160816; b=NEvKh7O5qVgdmqczcC/6lUWElcsRZcHuVysH91WtwDNvqiELZAFL74wXdvFIcMdCz6 fax5KuAWjj8bvciDWEqEr28b868cYFkmhLEjUc1vakQuWU3wYU/brTGsoWv44zsg75Ug opaQ8+ihwDxunUvn8p07ReRU+DGXTF6pmozOvVFnR1FQwl3QHQ8fnEUQmZSSWaEJsf9Z eMgTtq6LE6kPwXgA1kR7AVXx65vXag4M5VuuB7HgyPU0hQVPF8HqWzjTFIzUnCfl/enS D9gb2FakZDwLP5VOQ3dwbyPiBP26Lbi+R1IEDa3E9KcHZeLaDF2frIVWoC4iqgkxw/hw YHVQ== 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-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=Whp4rp4C5iX7GC4tgoWy/bx48FhcYcA7QCIthHjW16Q=; b=RcUU8rVe+oWMcuWblYq9gyrNT+6sVFz66U7kascImwnvbF2CUkYoeHTsXh3F4DcX/C kMxw1OyZKWOt4OAgkgjXrmFvuUtSqpQ2V3oRS0UfhCbNFSa5hOcaFPOynV0JanRLJG33 yPMeiLoaZshvS9CPw1vh8HTt0NcerIrUHKPFxN0UzchiVR+XyggO7cRJeQCR8ytbGtYJ bqN8+rjiTzjtbwrsxt8LaFDflOKEwBbNFzPPfL81olsX1M9brspO+OmFuqx5ca2FA6xl vtGBUVvFpjtK2Em/6U1KDd38TIPAs6xwfYGGrepiEEUIjl3yhJpECO+DSSThoxEIl2sd +SvA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 f18-20020a170902ce9200b001a9975ef97bsi14247995plg.396.2023.04.30.12.21.14; Sun, 30 Apr 2023 12:21:29 -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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230361AbjD3TS4 (ORCPT + 99 others); Sun, 30 Apr 2023 15:18:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjD3TSq (ORCPT ); Sun, 30 Apr 2023 15:18:46 -0400 Received: from fgw20-7.mail.saunalahti.fi (fgw20-7.mail.saunalahti.fi [62.142.5.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E151171C for ; Sun, 30 Apr 2023 12:18:45 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw20.mail.saunalahti.fi (Halon) with ESMTP id d184eeb3-e78b-11ed-b3cf-005056bd6ce9; Sun, 30 Apr 2023 22:18:42 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Sun, 30 Apr 2023 22:18:41 +0300 To: Lizhe Cc: linus.walleij@linaro.org, orsonzhai@gmail.com, baolin.wang@linux.alibaba.com, zhang.lyra@gmail.com, andriy.shevchenko@linux.intel.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] pinctrl:sprd: Check if the pinctrl_dev still exists Message-ID: References: <20230430140129.112081-1-sensor1010@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230430140129.112081-1-sensor1010@163.com> X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no 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 Sun, Apr 30, 2023 at 10:01:29PM +0800, Lizhe kirjoitti: > to check if the pinctrl_dev still exists before calling > pinctrl_unregister(). Sending a duplicate won't give anything new here, the patch itself is bogus. -- With Best Regards, Andy Shevchenko