Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1078455pxa; Fri, 28 Aug 2020 03:05:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaC9SRnJrN0eXmDmmIENS60oZGdpMDenJW/i6jA0AiED+YbcOXyrahdBX4gtLIHtGUA5hr X-Received: by 2002:aa7:d688:: with SMTP id d8mr1077472edr.168.1598609156826; Fri, 28 Aug 2020 03:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598609156; cv=none; d=google.com; s=arc-20160816; b=xONlLElcJlBok/uIa2SQJbeyQG0LSzW7hhYNWDFFuGP9kh4lasb2T3+RZp2y86TC9K Zfq/hNzacCt3unOQvTd3lEBg8YRVdG5tWkDAk/ztL5ZKJfZgWbZ3IiY7QgEd2ktdZ2pF c0ZQWhBCxxdhrFgYsoyBMEaQRLEnDcKKFcmb4j78v9UYm2RieT5uYtBWrIPtwluBv9tu bFX6J5WTWqPh7vyB41+oADZqLElhuMmfZzhpV7vaYs9DmrtXj5gHfZNTEsWDm8028syt 6HfpQZSF7fyMHadmUvjgl4idRCcLBV7Ddj/t9lWsKI5Cj7oYTPkCW2adzjXauzTkfpAy 5O9w== 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=5I2uMXhLoA701I3inj6ToWiNdrxZKdiI/z4bLw39qiE=; b=wCYMHbRhKQuNZfpIi2TM4tBv1fTIpAVscJJlKmsChoRDst0GjMBZpdeO+LhpuonoGx ApCImP0kWwUv5K0BXSrPOasOGhAtCIiK9ci5Bw1Z9jT6BwG5Bx/CvSURvKT7puYKXrlP qpRhPC8nDQggvPxmNiRR3ofCILj2NpvidblBXpLw3DRQv4CwPFJ2OayRWuyrPYcsMzno N2yknUBV9roxzr0eAZM1RyEiVUYEpJkt+CaMIeyKE2lBcUBPjXSV7PzdtVcc6oYXUTad gh4syJFix6OJ/cqgftBWVCGrurc9N4eP2OFe6EYA4FOoRO5HKLN/Uk0qrr3b1RFwXQts lL0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=NHj7gPHQ; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d11si253427edn.451.2020.08.28.03.05.33; Fri, 28 Aug 2020 03:05:56 -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=@cirrus.com header.s=PODMain02222019 header.b=NHj7gPHQ; 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=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729039AbgH1KCK (ORCPT + 99 others); Fri, 28 Aug 2020 06:02:10 -0400 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:36618 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728922AbgH1KCJ (ORCPT ); Fri, 28 Aug 2020 06:02:09 -0400 X-Greylist: delayed 1060 seconds by postgrey-1.27 at vger.kernel.org; Fri, 28 Aug 2020 06:02:08 EDT Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 07S9c5Qk008076; Fri, 28 Aug 2020 04:44:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=5I2uMXhLoA701I3inj6ToWiNdrxZKdiI/z4bLw39qiE=; b=NHj7gPHQ9gH0ND3W4ait84qKoxLWmVuSiIwvjUkLxdmfmqlW/nR54NwRIoN8LNs1guw0 dHbF1BVn3xLlTszyMF3Dr5SfaAsbKarsX/sOWCuW4wGy9UBN4iq8cutP5M+L5fb1ajQs GhvDmomXFA1tDNpWV6KSFg3jCVJ9VACVAUH+cP8I3s5OUhuFz+B4BdosskGL5YciEY0j kt8JKcIUX46B8qqGLs4zV/70jKkFzui+5fVRXU61n1RD4CRg7zOzKoMG7B9JeWRISIwf 5DgPb6KJbszBP0/IiwUOq0ERNaxCfaRRwCnv7ZTXSOc6Ml4jA//Una3EVXws75iG4wq/ qg== Authentication-Results: ppops.net; spf=fail smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from ediex01.ad.cirrus.com ([87.246.76.36]) by mx0b-001ae601.pphosted.com with ESMTP id 332yspgk7v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 28 Aug 2020 04:44:12 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Fri, 28 Aug 2020 10:44:10 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.1913.5 via Frontend Transport; Fri, 28 Aug 2020 10:44:10 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 487CA2C3; Fri, 28 Aug 2020 09:44:10 +0000 (UTC) Date: Fri, 28 Aug 2020 09:44:10 +0000 From: Charles Keepax To: Krzysztof Kozlowski CC: Richard Fitzgerald , Lee Jones , Maxime Coquelin , Alexandre Torgue , , , , , Subject: Re: [PATCH 1/3] mfd: madera: Simplify with dev_err_probe() Message-ID: <20200828094410.GI10899@ediswmail.ad.cirrus.com> References: <20200826144935.10067-1-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20200826144935.10067-1-krzk@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-SPF-Result: fail X-Proofpoint-SPF-Record: v=spf1 include:spf-001ae601.pphosted.com include:spf.protection.outlook.com ip4:5.172.152.52 -all X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 malwarescore=0 mlxlogscore=791 mlxscore=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 bulkscore=0 clxscore=1011 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008280074 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 26, 2020 at 04:49:33PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and also it prints the error value. > > Signed-off-by: Krzysztof Kozlowski > --- Acked-by: Charles Keepax Thanks, Charles