Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp961413pxa; Sat, 22 Aug 2020 06:11:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0ffpyzSM/eq4QK96udYcetOhZY6DjmwaYw8v+GyvOHMdFuhgTjye1Sn/jRGxejrB+6ANo X-Received: by 2002:a17:906:a24f:: with SMTP id bi15mr6557854ejb.379.1598101868585; Sat, 22 Aug 2020 06:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598101868; cv=none; d=google.com; s=arc-20160816; b=fyeood/6w92us1z0g4+W1Oj7fucad070gb7pVMRlNRmjy/mjXQMgw7hazf3IEtZzDo xIeKYsJmmLusOBY+rQDQgt1rBGC2NR2PAs78Mct6V6m3HQGybiE5Qs9nLpi1E4aktzMd nbnCqLutl0bR20N+6e6wGXAtsuMSAsZtXIullAy1a0jjoGtUjoJY1Lkmh/ixz5ae+BaI V+VQmYeg1wBx4eimm9mAEH3g/mrcf38ykV3w1RiKTrDX8tAhGtZM6cHhfMBcssv8I9RP sdOmqdzibl4VfbdPQGrmk3arRZ0py0lfwYSvgAURYdX65q933IkLpOLwgQMLnpuOIZfw L6Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VHUDgkjYUprE703tuWVkqHqeWjdAlxR+MI7rvK2xjrI=; b=x6VVxaO3UL+k46JbkNhhDLF7bucUUX1Y/pCSkxbEHt0nOCLwaaZEHFbym+ImjDotUT vvWSFRGd5zwaGvF071fd/dacemJEjBXaZSqdqEBPj4eEtXmTaG/ACKnppUx3S8+bt4sT +j+Lb4MgjYUTfu30aSldgeAquMddWhu8M3PKlVl8/yUsA7ZZVQQRbHl19S2SWQzThl1/ R4gpn+92m1oTN4oDfMvJnMX/oTEQXMVOr5Kw1VMXJtaX28pzr6i0aon5reHhZczUQ0f6 sYrUUui+Az0jFb1xVXtM2Pk1FbdwBjhYNkK390pf9pAhZ1xrObh3v4nlPPiUo7To5ceH uzVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xeyA2kCT; 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 y102si3365926ede.258.2020.08.22.06.10.41; Sat, 22 Aug 2020 06:11:08 -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=default header.b=xeyA2kCT; 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 S1728063AbgHVM6a (ORCPT + 99 others); Sat, 22 Aug 2020 08:58:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:46306 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727920AbgHVM62 (ORCPT ); Sat, 22 Aug 2020 08:58:28 -0400 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9B9632072D; Sat, 22 Aug 2020 12:58:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598101108; bh=zz65S2/WRjexEgYEeGRHDKkwIBZKl8TsBifrZMSGdwc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xeyA2kCTjsSKIoxAseh1B/u2KNWGGsRkjA3qovCEfajrey+vjbTOAkKfS+ejnHTIf aKCdBe2ZmH04SXUjzt3+U8TXLerdrYcfRjsYe8PN1A3dZKsL2HvWoSjz5BnGXSHvLg JdbN6aPKg9iKKt0GnWHcNMaTKu9hWq6MJMdb+Sww= Date: Sat, 22 Aug 2020 20:58:23 +0800 From: Shawn Guo To: Anson Huang Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, daniel.baluta@nxp.com, agx@sigxcpu.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH] soc: imx: gpcv2: Use dev_err_probe() to simplify error handling Message-ID: <20200822125822.GC30094@dragon> References: <1597115082-20328-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1597115082-20328-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 11, 2020 at 11:04:42AM +0800, Anson Huang wrote: > dev_err_probe() can reduce code size, uniform error handling and record the > defer probe reason etc., use it to simplify the code. > > Signed-off-by: Anson Huang Applied, thanks.