Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp346726pxk; Wed, 2 Sep 2020 03:03:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/CQuWGd8PndXhMbqL/8YDU0FG+OktakGV8X50OoIvq+RW//0JuJ57z6BPEFeAwnssAB0A X-Received: by 2002:a17:906:3890:: with SMTP id q16mr5421334ejd.107.1599041038433; Wed, 02 Sep 2020 03:03:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599041038; cv=none; d=google.com; s=arc-20160816; b=UdbFXNYYHRCmU+2Nllh9qJMI7gYTLYe8nOGXCHFoJGxCUem5HEE52oVVPFDwJMo5cu xgKX1/3BLBYf2Zm4V3HocwK/rWm/L0xccT1cWH6zgi3FlW+vVDzJfbzmzlFKuWSzp8GO M5Xr/qWKqLG8l3bWaJpvj5fhGzRRP0U9O7pW2J4Vr9dTEXUsiPb12MO5A1qQnkgLfEFQ xJNYmTCZ7oia64u7SCisPK7jty53Ih+arKMq6ahMqrU1kaVFXcwyvPzKD03hk2s11Qes 1ZKIRT+1oOmKODDncpUbTrTPSsDrvbixMQ9x0n+kr6dbOnI5a59EthLYV1QjxJ/+ZF7g buBw== 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=VRB25U08U1dEvOlc7ILUoHLfY4FEii3eXd2z5p86hmY=; b=rKg37PX7MiMfnI0iTRATolGoJyWKpxkbAYTwLnvewzHkCwkTedaC25Z24IGRZc4qgq HoIN8Vs3JCE93KlqILcn8t3ZesEcsV9deMjTLljv16XIcz+cObL6PruvMLyw9be5hFeb TOZBeiJjiViiFA1o0JZeY+Qww2+ibHoLWTlr+RTDiAKuBXFlCRuqOepcBIJ+A/Ss6AMA iDzQSS9EhHA+B0jGhTYf6UtP+/6Hx4/1al3ck/QTli9aQ8M04nBA8UhHa3M+XcJl7TB/ yCIQa75ZtJHci1MVsBfUGb4UJ26DQ1okj7EEQfvB2eyI3t1U2OO50YSv3S2c7B8KlpDQ zyHA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u19si2224512edt.139.2020.09.02.03.03.34; Wed, 02 Sep 2020 03:03:58 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726247AbgIBKCz (ORCPT + 99 others); Wed, 2 Sep 2020 06:02:55 -0400 Received: from bmailout1.hostsharing.net ([83.223.95.100]:55533 "EHLO bmailout1.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726167AbgIBKCy (ORCPT ); Wed, 2 Sep 2020 06:02:54 -0400 Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id 07EB230037B67; Wed, 2 Sep 2020 12:02:48 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id DD1AD10F5B6; Wed, 2 Sep 2020 12:02:47 +0200 (CEST) Date: Wed, 2 Sep 2020 12:02:47 +0200 From: Lukas Wunner To: Krzysztof Kozlowski Cc: Greg Kroah-Hartman , Jiri Slaby , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Nicolas Saenz Julienne , Paul Cercueil , linux-serial@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] serial: core: Simplify with dev_err_probe() Message-ID: <20200902100247.GA4277@wunner.de> References: <20200901153100.18827-1-krzk@kernel.org> <20200901153100.18827-2-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200901153100.18827-2-krzk@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 01, 2020 at 05:31:00PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and the error value gets printed. > > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukas Wunner