From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19316C433E2 for ; Wed, 9 Sep 2020 09:20:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C33FF20708 for ; Wed, 9 Sep 2020 09:20:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727055AbgIIJU3 (ORCPT ); Wed, 9 Sep 2020 05:20:29 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:53586 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbgIIJUZ (ORCPT ); Wed, 9 Sep 2020 05:20:25 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 9BE681C0B87; Wed, 9 Sep 2020 11:20:24 +0200 (CEST) Date: Wed, 9 Sep 2020 11:20:23 +0200 From: Pavel Machek To: Krzysztof Kozlowski Cc: Dan Murphy , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] leds: lm3692x: Simplify with dev_err_probe() Message-ID: <20200909092023.GB14289@amd> References: <20200826145013.10230-1-krzk@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XOIedfhf+7KOe/yw" Content-Disposition: inline In-Reply-To: <20200826145013.10230-1-krzk@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --XOIedfhf+7KOe/yw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed 2020-08-26 16:50:10, 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. >=20 > Signed-off-by: Krzysztof Kozlowski Thanks, applied. Pavel =09 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --XOIedfhf+7KOe/yw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl9YnlcACgkQMOfwapXb+vJB9wCfYG5rq0q2KBl0Bkphu5JS1ySc /OYAn1pGuKUEYJlop7ZNoKFLu5063S/R =S1JK -----END PGP SIGNATURE----- --XOIedfhf+7KOe/yw--