Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1616207rwd; Thu, 1 Jun 2023 19:31:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7R8nyxYBqsz8S5UwHmOTHi790HmtEwrY596ubw1EEpFduK5EIozawnWA6cC4iIq18wlck7 X-Received: by 2002:a05:6a00:2d2a:b0:644:d77:a2c5 with SMTP id fa42-20020a056a002d2a00b006440d77a2c5mr10224529pfb.29.1685673115457; Thu, 01 Jun 2023 19:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685673115; cv=none; d=google.com; s=arc-20160816; b=hiGiZ7BbH29hGfIj8Iqqs+fMT9dqkqo9m0SmjebJtiKdwQYrgbW4asvg9L2OjtxCR5 rCy2mnMxO0uqEKkqosZFAP+zK59YULL8UHASdk90/svgvAodUL5386kIuLztuRZ8TQmU dLcCBToz+A2VWy+QIUtFlAsJ3TCj9sW84QgPjUiN/mDgsFeQvdExaZ5RuV/wiv4bPXwN vnmn9kBNCTuU7qhMXe3FsEDYnVoF0mzk5SH5CpOR1iGaUHFmVQZyBM582kBmUUK9L4Fh 3YiCSxGwwVlsBMHbh5z6iKlxf7+hSrRNahgbNuxc7pm307wap2OK8LelP7WOlYE+uAVI basQ== 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=gobbL60nIfg3VsMotaS4/ZZmRmsXa+y28bMYsHZG2NY=; b=Afj70lTkVkxGpvLLJobQ/3itrRuFvQdEh7bNPSduzDX2AhPFqaV5mTCzkOetT/eBKE hzBTweLg7BDrt+ce/A5eVQ4uoDwdeT/gxhGeameTV73KlpufXjltOUh2srvY4ar24hYR E4/xp3JfwrBxCgRn/5mcY0eO6zN1b3Bg6+rqMgIfdorHDBl/trcdiLfr7JgSF/XsTYiI N4/JaHFMbcL7kGVzrCeqYAaWHKk91luSOGu1Bo0A+k3Um89ms2LJjvGaX+9yUbqg2SJO NMlEUwHNY+/vAJHBQyGdCPbqyEARlokm8i/riPCDq0PUXYFQREfNtdWetF1KeDP57Nju 9trg== 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 i134-20020a639d8c000000b0051a8a22a42dsi218007pgd.268.2023.06.01.19.31.43; Thu, 01 Jun 2023 19:31:55 -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 S232523AbjFBBwv (ORCPT + 99 others); Thu, 1 Jun 2023 21:52:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229598AbjFBBwu (ORCPT ); Thu, 1 Jun 2023 21:52:50 -0400 Received: from fgw23-7.mail.saunalahti.fi (fgw23-7.mail.saunalahti.fi [62.142.5.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95425C0 for ; Thu, 1 Jun 2023 18:52:49 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw23.mail.saunalahti.fi (Halon) with ESMTP id 2c58c2fe-00e8-11ee-b972-005056bdfda7; Fri, 02 Jun 2023 04:52:47 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Fri, 2 Jun 2023 04:52:47 +0300 To: Nikita Shubin Cc: Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Sergey Shtylyov , Damien Le Moal , Michael Peters , Kris Bahnsen , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 38/43] pata: cirrus: drop legacy pinctrl Message-ID: References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230601054549.10843-20-nikita.shubin@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230601054549.10843-20-nikita.shubin@maquefel.me> 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 Thu, Jun 01, 2023 at 08:45:43AM +0300, Nikita Shubin kirjoitti: > Drop legacy acquire/release since we are using > pinctrl for this now. ... > drv_data = devm_kzalloc(&pdev->dev, sizeof(*drv_data), GFP_KERNEL); > - if (!drv_data) { > - err = -ENXIO; Wondering why it's not ENOMEM even in the original code? > - goto err_rel_gpio; > - } > + if (!drv_data) > + return -ENXIO; -- With Best Regards, Andy Shevchenko