Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2011166pxb; Thu, 16 Sep 2021 23:19:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEwJg4Z8GODYKa8fuPgn0Ppnwoy6EjDfXGNNnyPvBExg7L6hN5deKkZ5y41Qyz5BE2VvHO X-Received: by 2002:a05:6638:339e:: with SMTP id h30mr808228jav.148.1631859595019; Thu, 16 Sep 2021 23:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631859595; cv=none; d=google.com; s=arc-20160816; b=SCDRpsaBNH/ToGnDWmwiBhde36I8oUj+bjpvq82vAYCuTKpeSrcegADKs+TzV59BBy g6Zrq14H3wlYMkv6FH2zv3P8zqImu/BTTPRyMRCTBPSHRC/wj8jhpe6bmuGsgkp7V3GO xJyQPUUnUkpqTPBlUxsXhdU/d9tAr4LRz30MvLNJeXd0Av71V5YKwvWshKELIjFfTwlB paaSr7U6b3vYq3KeCnaG7StcKI/skzuGzIBtGwGoBxtUIw6G9rdDq/nqipalf+oAj+4K ZxYN+r1T1A0nAKJyn22Q3viSeq2kkzCbNaBpkAl908qmiQ0/mSMY1VgE6GLXW1DAL6w8 SsdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=yjM6YPvK99LB510NbiJJjNRIf8gejFsSIgnMb4lqgfY=; b=NaPrie5bI+5bl8SFKy7R3B/KtJRs/a2a2cLEJD/aPcTrLIaZcRsLWUXMZINcdx9hn4 mkJWci1KXlRwU+BEdZ92na9SlONU86C/QBDGww/kAZjjpJDJfH85GAMY2KUru5Qp5JtX LUsSYUpG60i9CFzq5ote840rk6tk0LUyblyVkaZ69z3Uy0nB8fJu1RAnOAF1DI2I6WDC IYgOGsojPIGzPIfHO0GreRbjfzhN3+5Q7YpvPAl5mEhq4C7j2/qk/1Xr/ZEyblPPN246 Ht5CduuhNO/digHsfDURM0QL8Ke+1kMayhIX6cJeYHGWxuS/ABKR4LZmLpgxIvgj9jCD zb7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uYjB8O3m; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s195si4839170ios.106.2021.09.16.23.19.44; Thu, 16 Sep 2021 23:19:55 -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=@kernel.org header.s=k20201202 header.b=uYjB8O3m; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232324AbhIPTbs (ORCPT + 99 others); Thu, 16 Sep 2021 15:31:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:54640 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232339AbhIPTbr (ORCPT ); Thu, 16 Sep 2021 15:31:47 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AA59A610E9; Thu, 16 Sep 2021 19:30:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631820626; bh=9qRDdP6gfHQc9hhGvzgphNmJhjP4BYaLxJ8+rvQ48Do=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=uYjB8O3mGxxihk4B4upmCralEF5o6Aoz9riIrmdtdO8Ciu6UJQUPaoda0fGm5XXvF 8J6liGirTA0NHuA729Qkcn2PHbFREpQuRi2xsArseqmIhTQ45yYkgZ7eQQMFHGP4Vz z/+K8cx09aX/EqngLRQJwt/0+WbLQiYgS4hFW4RWi+ZcYYI6m0taqoJ6Y/wIE/mUrT lHtn3agVbAjeJahDgCzKck7rMcREPeh4l0AbXIyprKusSltWiIz6c7+27zbBsh79qG B8wi0Lk5g2PWP91osENruUUM7PHq8yjWVwmnTNjhLsHKnomArUPrbUeQCqhu1OMpED eORkXY4KvoYQA== Received: by mail-pj1-f45.google.com with SMTP id u13-20020a17090abb0db0290177e1d9b3f7so8311095pjr.1; Thu, 16 Sep 2021 12:30:26 -0700 (PDT) X-Gm-Message-State: AOAM533EQzIqpO5BSX1XV7MoNAfS/CIjywmD8ACVHcjRVInRLEEIzQuW iWD5krjL+dmsE45XOBBZ0u3jbPqcfikuGNPH8SE= X-Received: by 2002:a17:90b:4c52:: with SMTP id np18mr16157304pjb.157.1631820626338; Thu, 16 Sep 2021 12:30:26 -0700 (PDT) MIME-Version: 1.0 References: <20210916153056.13674-1-caihuoqing@baidu.com> In-Reply-To: <20210916153056.13674-1-caihuoqing@baidu.com> From: Krzysztof Kozlowski Date: Thu, 16 Sep 2021 21:30:14 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] Input: ad7879 - Make use of the helper function dev_err_probe() To: Cai Huoqing Cc: Michael Hennerich , Dmitry Torokhov , linux-input@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 16 Sept 2021 at 17:47, Cai Huoqing wrote: > > When possible use dev_err_probe help to properly deal with the > PROBE_DEFER error, the benefit is that DEFER issue will be logged > in the devices_deferred debugfs file. > Using dev_err_probe() can reduce code size, and the error value > gets printed. > > Signed-off-by: Cai Huoqing > --- > drivers/input/touchscreen/ad7879.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) Please do not send patches one by one but group them in a series. The patches you sent were already sent before: https://lore.kernel.org/lkml/20200827185829.30096-1-krzk@kernel.org/ If such conversion is still applicable (although I have doubts - preferred is to remove dev_err entirely), then I can rebase my older series. Best regards, Krzysztof