Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1179275pxa; Fri, 28 Aug 2020 06:05:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3qcb5CGwTovzNaCcP1uO3lEtnbGTe+FZdErwnv8U7ALJ9BXUTBZCAFQVzvxp2tWSX3IOQ X-Received: by 2002:aa7:c3d3:: with SMTP id l19mr1867369edr.102.1598619953932; Fri, 28 Aug 2020 06:05:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598619953; cv=none; d=google.com; s=arc-20160816; b=gfPPHwYDoppMm7A6qcl9fr3zldMFAprn8Gi+4Xbf5MBW94vwjStgLPQo9+Ep+84yfd X6UQlOZ3xISwqBPQaKINJTHookF0mYttJOj1V/goVBOoLRjR6Pzb2O95z2auwW+s+QLB aoJLSSXqIVeHTHW4PcuLUMmwGQio/owPpL4eMsu7VPAB3M5MIbRZKenhjAXN0Kstkazp len7QqRsXKnxtzw36f8OU7h2VJ6LesGkgbNacNUw1gbQ0W61rSVxJ+ddisG12KYQbhhj HggglX/jrne56wXex4gqivmDaWJ1oFZkdQroX2YTOXshrdkAWGTcMGrPHjY5BQlyoayb Jolg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=kY6QohH0kHOg+QzN8imLnNqmKHUkcybm8RndPGRcKBY=; b=eCmhTAZN0Tz3JRhA85MwVW/EOy56xXXa30JCQzsXVMDtrjb1wXjfg32aBwglnDm7aD 1jlZTXQLz/KrhswNj4m9inru6H8oomOaKoUwwltfjrN10/sKGpOkJclzutPO0chj/DzQ o1nCjrsVfSmLcRM2RRt65xoVvgJJe/99Bk7fSDNB1sl7cLTu7fQTecHeyfQnY6iGdBLX m+RAwGaRmXEFY+eJtRR8bSfLxydGc1LBh+3Mr6XjE93fb/JpflZgZO54HzrTy0kbOkjK PsndZWL8tU06OCloiv9oKU1TaYskkMUrHitrROuZy2sa++GcjvdFfszzY7o6UvPh8WLu jcxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hEEhM6bX; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si573017ejy.245.2020.08.28.06.05.32; Fri, 28 Aug 2020 06:05:53 -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=@linaro.org header.s=google header.b=hEEhM6bX; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729321AbgH1NEc (ORCPT + 99 others); Fri, 28 Aug 2020 09:04:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729052AbgH1NEJ (ORCPT ); Fri, 28 Aug 2020 09:04:09 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1106CC06121B for ; Fri, 28 Aug 2020 06:04:08 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id e11so1214331ljn.6 for ; Fri, 28 Aug 2020 06:04:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kY6QohH0kHOg+QzN8imLnNqmKHUkcybm8RndPGRcKBY=; b=hEEhM6bXCEN77L0tGNTDS6zmOH04mOyuhnqNM5uPZYN0gYXTGXcdFAqeulpAUvxcWh DCCXZNQm2W0N8pG5Q4oIUMSHcG+kSdHUexRSjlZzGNpsRL+09rLkUl8e9Ty9YRfA8xg/ zsviZhnOWi6K/8Se0ecZs49+o1JpUI0ouq1tOYIBK9lk72V2kJL3oTdKTp7G9JLHHmCA VJ/Py+m0DYy20mN5LcZ9yqol6X9R+XQ9ZjGCIZvBAxdw3UZj0mnfSalWOQd4EIPK36wE c7pd+QX7k2WKJoKBmSKL/j1M50mHmPityogf7HshbDgyYj4WAlQiauK+oot7jpk5Wut7 R1dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kY6QohH0kHOg+QzN8imLnNqmKHUkcybm8RndPGRcKBY=; b=buuCyD+pwlpyDDq63Fi/Z1l8JPFn2g3t8m59lx84RZ6J9121+1dtc8S77DoS8nYTJT JXN9GXo5oiZ4O3i1aplaqs030T1hIuZANok/Ur3+tyzSuT8pKVwzx2yltxgvnOPLGHW6 YC3mW1hkjxYJDd0laS4msLBctiBqmM+Kqy5/9zM7Ci9CyOCGGrImphbO9skN8kgCXgyI bYOVpsNyigKfMksbM2HjF43VRdEuI1L8R8rrWH2FwAJCfQdawKFQnN8P/D6GwiLMH3kr ZfXozX+At0Rr1lbl/w5JDbGfBPVdHR9xPsyUDueIlddfn9dhLzGjVpwJvZ9OkPVkCD9s UhtQ== X-Gm-Message-State: AOAM531X1tbz7mTvM8lR5q2bOnXgBsRphWxE3wpaB2re+ZJt5Bc55DUy sgSJiClv/i7C3StGL9HIkLmyFVNcxEcB6vAUxZ/jxg== X-Received: by 2002:a2e:6a17:: with SMTP id f23mr772794ljc.338.1598619846247; Fri, 28 Aug 2020 06:04:06 -0700 (PDT) MIME-Version: 1.0 References: <20200826145153.10444-1-krzk@kernel.org> <20200826145153.10444-16-krzk@kernel.org> In-Reply-To: <20200826145153.10444-16-krzk@kernel.org> From: Linus Walleij Date: Fri, 28 Aug 2020 15:03:55 +0200 Message-ID: Subject: Re: [PATCH 16/16] iio: magnetometer: ak8974: Simplify with dev_err_probe() To: Krzysztof Kozlowski 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 , Jonathan Bakker , Alexandru Ardelean , "linux-kernel@vger.kernel.org" , Linux ARM , linux-samsung-soc , "open list:ARM/Amlogic Meson..." , linux-stm32@st-md-mailman.stormreply.com Content-Type: text/plain; charset="UTF-8" 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 4:53 PM 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: Linus Walleij Yours, Linus Walleij