Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp509355pxa; Thu, 27 Aug 2020 08:14:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOCRnmGFd+uWxtWwYixCRKkWh4bFPvUjockseAcN7KnrGnvfWUdn/PmDLmskB4B/Grnz7H X-Received: by 2002:a17:906:b78e:: with SMTP id dt14mr17264941ejb.527.1598541249017; Thu, 27 Aug 2020 08:14:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598541249; cv=none; d=google.com; s=arc-20160816; b=bCTLKa+rlYoEtOwbG/Dj4+dxuOCIkqS/7tEILUFsTkt0Wgcw4TTJdOSsI44AbZfUpr prKNVpAwb5wqgDnNItCJmCFC7wv+OmBKW/qPIx41orKAqxjYqv6vZbco+FlQB+ru3eS1 f1H4ciHf5NieGbM6uhx7jZoYmedW2COk8Jl/mL2PA4nghZKpwStjtfY02RBsahBcNajL 2JOSlZdLoppzagMxfYv7vvWyo7TQbmwyd2o8zlUTLL5V2HELPvY0BPjPtn3ooXbA3jqD rIXiwFOA4pyXuDtVluDMRspDS7XlZUD52cbgeQLc77PvGEtF3HfFUPlL1fp8BIesH/Xr +bjQ== 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; bh=iXm+BK1XseUH+QiQCNWCtflu2oIe/pb8DPKprrM24Fk=; b=ZcyNkSoJEz15A4vt9hJ5XFMGEfjk/8TJdriHeTu9Qg08G2VE43yYi4LA15e0JfWnSG c7hcMqP+3uQYgdvyJSGcDtRNQcmlzkfQz1PjzdMICD2gECnxFvT/2BSIl1PvHcCOlpXH nt3wdi4WEUYjjxC3Gq/w0Ks4Jxu0BVPOuZG9NE5qcQP8C53NqxFMH0CSiAOO8fmYXTT4 yQpj1+93TdJrKU8LB6ENhj4JZG2kf0aD4IU9n+Y2BIEzh1fREwDjg3q22R+kVcVUAz99 SzEFeRXkp1h1d21C9wlBTS2RFGB0d1WyFYmpfr8aTi5emO6FVNiD2LHaVdDNMMfmCC9c glgQ== ARC-Authentication-Results: i=1; mx.google.com; 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 w14si1561678eju.753.2020.08.27.08.13.46; Thu, 27 Aug 2020 08:14:09 -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; 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 S1728525AbgH0Ljj (ORCPT + 99 others); Thu, 27 Aug 2020 07:39:39 -0400 Received: from mail-ej1-f68.google.com ([209.85.218.68]:46824 "EHLO mail-ej1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728358AbgH0L37 (ORCPT ); Thu, 27 Aug 2020 07:29:59 -0400 Received: by mail-ej1-f68.google.com with SMTP id d11so7096502ejt.13; Thu, 27 Aug 2020 04:29:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=iXm+BK1XseUH+QiQCNWCtflu2oIe/pb8DPKprrM24Fk=; b=VmNKZOqsUZdpT6TBH75t1vcMfIHLkE16hloBQvND4FbjDgASpyiOz0zWfOhyiyvAEs 8ZB7VDuPlJoM85ibGG3i+nWTIQbbdxeuhrugWX2o1GH9espsJBV7HCkAGSdbac08coo5 xyvOgIFJGqwUr/+/YpLHxAQY85AALYDeAqvBAl4RRgSCLyRObwGVp43sFaJ2FEUZFO3u C7o5g28NUuJNJ6SogaCA8FWd/a+1QLBF1haZcKCO144Nn6wpblkgcUOLib3jyrpzoA1E brKVllNZL6yhpdtoUrgk2zGzm13F108hludGk2liBsH2WdTKi+BljjvKwYTZJtTZprbz 6oNQ== X-Gm-Message-State: AOAM531m5sX5kVRNUkmuzAUiIAj5Ftaqqb/jqqBwjYQ4SXuhqpMx/4Sz fxDUM8BL4dKSDcVpVXgntaqNuj3y8lj2sQ== X-Received: by 2002:a17:906:8d8:: with SMTP id o24mr19868792eje.384.1598527743036; Thu, 27 Aug 2020 04:29:03 -0700 (PDT) Received: from kozik-lap ([194.230.155.216]) by smtp.googlemail.com with ESMTPSA id o8sm1631358eji.34.2020.08.27.04.29.01 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Aug 2020 04:29:02 -0700 (PDT) Date: Thu, 27 Aug 2020 13:28:59 +0200 From: Krzysztof Kozlowski To: Jonathan Cameron Cc: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Peter Rosin , Kukjin Kim , Michael Hennerich , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl , Marek Vasut , Maxime Coquelin , Alexandre Torgue , Beniamin Bia , Tomasz Duszynski , Linus Walleij , Jonathan Bakker , Alexandru Ardelean , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH 01/16] iio: accel: bma180: Simplify with dev_err_probe() Message-ID: <20200827112859.GA11849@kozik-lap> References: <20200826145153.10444-1-krzk@kernel.org> <20200827122605.0000770f@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200827122605.0000770f@huawei.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 Thu, Aug 27, 2020 at 12:26:05PM +0100, Jonathan Cameron wrote: > On Wed, 26 Aug 2020 16:51:38 +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 > > Please make sure to send v2 to linux-iio@vger.kernel.org Sure, my bad. Best regards, Krzysztof