Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1081909pxa; Fri, 28 Aug 2020 03:12:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwR0/B8Ekzj5pdqTOGFUe37qB2RrQ/NPuzWML3XaE4V2uleFcbV/Rqtf5NI5SIaojyYfVEm X-Received: by 2002:a05:6402:17b8:: with SMTP id j24mr1079446edy.105.1598609539272; Fri, 28 Aug 2020 03:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598609539; cv=none; d=google.com; s=arc-20160816; b=yyR8oGSu6arwamqyska/HtumdquUH3MmVVngHwkDfLpWzGqas8kNP4E8eWIlZsgqJZ vx+5BXxMCRmgFfhLwTdm3QLteJ+g5lwGdgjU0PPNB21Dv9zg18GDPOalHEC52qOz3gSu AUQ4dclWT4MSdAA5g989wHO0b5YYctEJYy4krpZidUIUL13l1FnZKMbNn6zInDedsKrq Bgu5ZP89cLPMH/IkkSWbVSfOQ6bNxg9NXGCUVRzHT/BQCbQJyJmBELkxadNbmDr/0mQz gQVbvCfDafNnFUMpvJf0md1rdMIK5L+yCNZ/AEFeswrWoBxKZIpablmzIAY0Lszb8xaL 3P8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4JMFr37STORIgQm4bGEPTAK7/SSI+Z3+hSKZb/jWMU8=; b=KjyScdIda7C4XsVjef3E4bVeCV+Kehym61EjuJEbk559TXQy+Lz73C9N0UUJHXbCoI FithcrV8TBMz4LJwJJXVfXhqIqXRmOmM4x/QSB78Aoj7GnULrPjNg65VcEx6e2Ug6ViC nTdq92ubSM8YO0Lb8WTKW3voV04zZPaZy7RgJ7Ap5DYVcX8ykWCNsJsGFJeq3X+1q/Vx bBHkNGnXvdf3hDjlif4heO72Kd0lLP5cimDE5UlQoRuGnctAqP9jgTA64hggP+x3Alnb awJ3qa4qycY4g5TnGwMmrnFkZT+0+dkrJZ3fwj0+L3ngrCV98LP2bP1G3XJFPWO+anVQ aU8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="E/6Z7lX1"; 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 a12si274209eda.373.2020.08.28.03.11.56; Fri, 28 Aug 2020 03:12:19 -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="E/6Z7lX1"; 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 S1729104AbgH1KKu (ORCPT + 99 others); Fri, 28 Aug 2020 06:10:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728218AbgH1KKr (ORCPT ); Fri, 28 Aug 2020 06:10:47 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6D48C061264 for ; Fri, 28 Aug 2020 03:10:46 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id q9so415715wmj.2 for ; Fri, 28 Aug 2020 03:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=4JMFr37STORIgQm4bGEPTAK7/SSI+Z3+hSKZb/jWMU8=; b=E/6Z7lX1dsrGY7Qz9e8ERJFdEWAi6Gq+LQeGQ6iQSyk4/VPsQA5bwQc95uE2CYoGf1 2Gdrh5HzLDnqKQJSGCpWN1EPyRBfF5SnUHF3ThWjBAt3AneY2bckqlYuemdLTl/4JFRN Dvo+6qDabXIQF/REsdK6ydQ9T0ZhcZUe53vz/jmnbj5ij4+nNU09HsD9lrNPjw8garom fAhtPMM6z8qTWZ8iXQ1WrlacR5jSIKFC9nXHkmoO3/pDyrtpmglCAkGHA7asTGIvZ4p9 qDEV6w00/ZPPS6yvvZ7QjqBcvK416IOiANM7xgZXferQQ5OJNlAlUxHseyoFyT6cyxnW yBeQ== 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:content-transfer-encoding :in-reply-to; bh=4JMFr37STORIgQm4bGEPTAK7/SSI+Z3+hSKZb/jWMU8=; b=tOmA1Sz4z7hEqbdXUVDyZAcerkt4/EpNsPjVApXwMG+lSZ0hW8C6Xm3fRNyCftP+Ud oA1fy/BCCPvzRhMueGyJ5/kaqJpRiEwZnkty8Eo/9HaP/ewGwMovhquJ6z1JjxqFH9FK IzNCRV9mbuYGDMAvl3Egh8s0qXf8aJ7cnQXV0d7oV4vxap5/2d5wjs3tf2kN9vZdXQDk igBNEI3a/bXjUXtJpxnpRjA694DwWLfRLfU7zXVoXqJ0ZGKMXQKMZsdoU8hGx+HiA91C gnoQvoDSk4E70ud4MHE7i7gi6gFNu2VUkQkJ+OycBD4my3E4AHwSV5RaNfCmAYYdqGL/ neQg== X-Gm-Message-State: AOAM53335FODdwKX0xUdTiqooeebVgl6w+DTJMsUfRFG5qOq2QwIjHCa EHvC8uL6RCVWCugN4Fd/H33yCA== X-Received: by 2002:a7b:c316:: with SMTP id k22mr898552wmj.150.1598609445574; Fri, 28 Aug 2020 03:10:45 -0700 (PDT) Received: from dell ([91.110.221.141]) by smtp.gmail.com with ESMTPSA id g18sm1243165wru.27.2020.08.28.03.10.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 03:10:44 -0700 (PDT) Date: Fri, 28 Aug 2020 11:10:39 +0100 From: Lee Jones To: Krzysztof Kozlowski Cc: Charles Keepax , Richard Fitzgerald , Maxime Coquelin , Alexandre Torgue , alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 3/3] mfd: wcd934x: Simplify with dev_err_probe() Message-ID: <20200828101039.GJ1826686@dell> References: <20200826144935.10067-1-krzk@kernel.org> <20200826144935.10067-3-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200826144935.10067-3-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 26 Aug 2020, 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 > --- > drivers/mfd/wcd934x.c | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog