Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp349750pxk; Wed, 2 Sep 2020 03:09:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAHfBcGm+N1kY0rVWjemHRCGsx4MJSvp806Gvl1D65P3M3/Y9DgGbGc+UiGV63j1X9XOUE X-Received: by 2002:a50:fa94:: with SMTP id w20mr5416831edr.206.1599041352292; Wed, 02 Sep 2020 03:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599041352; cv=none; d=google.com; s=arc-20160816; b=h2sB+zTLg2Fw8WfwVstzwKhc4a6dzVN3JB5s7NRdkEivnliSZPiTIKqY2TYFQyNGGy HIt0IQsVDkezyFYlqkP22NntjbnWaCYbOSpOSwD4DmpjbDLZTCrZ7/x7+OTK1ABxzrhM FP1uR+++xqsEoNOeArtj6ubQ8Tn1A5ojNMUZiuhNVY8gLkttWO4aks8LcviK2gGemBSj iAQvsSCsxN7L1+N4/ZwWfn13U3duL69DL3RfLY6OZsvYL+2FPkUDcObiUoeGZ5xmjezu L1XpWDJDp1vdHb1fYE1NVbLf1kb9bVzROPY04yyBCmK62lTycXnxKKBl0uYiOu6EhZsC X9bg== 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=WBK+FKyNQzUn4opI5l8Vxj+vYnBzYPQiNL0XBqm+dYM=; b=OwGbN7c553TmMzrmF8g2IXC+zV7eDeDA1bcNGor8aGYsKBxhPBu/dO9hjBoqc1ckIH QCILdZvP7SqZrMraYeEgdXdjcfW33LSyD2effYTvxvbSAX3afomkBdo55oVCKoWtHCj8 lZm1eBiHR8C1mzqqvRdElEMAJ6BoZu4h15LQP70j/Qc1MfjPwZzWJFDBJl1Yy+zb66vZ 689oFoScQl0WjSo8nOiVm54hjR+hfY+lS9SLNQc80yCG/OzGA3M1qHfk6nob4J630s6N RtIuEer4cbC3vxAp0D51ZwiiW15vGkBPuwhx6F9PwisYXx5EoAJMDxdDdDh5gGjrYbOe U9Bw== 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 y7si2149149edj.519.2020.09.02.03.08.49; Wed, 02 Sep 2020 03:09:12 -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 S1726426AbgIBKHX (ORCPT + 99 others); Wed, 2 Sep 2020 06:07:23 -0400 Received: from bmailout1.hostsharing.net ([83.223.95.100]:47909 "EHLO bmailout1.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbgIBKHW (ORCPT ); Wed, 2 Sep 2020 06:07:22 -0400 Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (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 8249230037B89; Wed, 2 Sep 2020 12:07:21 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 61FB14C769; Wed, 2 Sep 2020 12:07:21 +0200 (CEST) Date: Wed, 2 Sep 2020 12:07:21 +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 1/2] serial: 8250: Simplify with dev_err_probe() Message-ID: <20200902100721.GB4277@wunner.de> References: <20200901153100.18827-1-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200901153100.18827-1-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:30:59PM +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