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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42DABC77B75 for ; Mon, 15 May 2023 15:18:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233093AbjEOPSW (ORCPT ); Mon, 15 May 2023 11:18:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235256AbjEOPSV (ORCPT ); Mon, 15 May 2023 11:18:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C53FDB; Mon, 15 May 2023 08:18:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E0DF661EF9; Mon, 15 May 2023 15:18:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABD54C433EF; Mon, 15 May 2023 15:18:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684163899; bh=O3PfqBWgvC8kkGINqTRq9A/j4B9puDgpei0jZpKHjlY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TR/ieNdtOS3Aq05DCRzeBZnDpGK4oekHaqZqUfIpl0QVfq8f/t3OjKl/AfRp4A7Jy PbCkngvyAqOd+gZCVADseTLDifrg7EBiTi0GklaHhLYq4WD+ArWmpHEbxC6SSH1hNS DsEC1UZy87aczsCm118Jo384Dhys8W/nRR1ULzJ80zWu/fEJCchb/MLyDT9pdAYuvr Pp6f/iJJ5qP8xLi3xVJbzx1+EeI0T32Wv1wPpkk4sL5zbmTKr4bVucAQfcCmqAZNov 2A/aMOshbjV4GYL8H8fwh+a1bYUJKkIGM/zB762aMkszOhMX5r+/a6Dy0ZC1j5DxuS RCTzI5gIG7/Pw== Date: Mon, 15 May 2023 16:18:12 +0100 From: Lee Jones To: Sebastian Reichel Cc: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Linus Walleij , Mark Brown , Liam Girdwood , Alexandre Belloni , Alessandro Zummo , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Diederik de Haas , Vincent Legoll Subject: Re: [PATCH v8 03/14] mfd: rk808: use dev_err_probe Message-ID: <20230515151812.GO10825@google.com> References: <20230504173618.142075-1-sebastian.reichel@collabora.com> <20230504173618.142075-4-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230504173618.142075-4-sebastian.reichel@collabora.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Thu, 04 May 2023, Sebastian Reichel wrote: > Use dev_err_probe instead of dev_err in probe function, > which simplifies code a little bit and prints the error > code. > > Also drop possibly incorrect printing of chip id registers > while touching the error message. > > Acked-for-MFD-by: Lee Jones > Tested-by: Diederik de Haas # Rock64, Quartz64 Model A + B > Tested-by: Vincent Legoll # Pine64 QuartzPro64 > Signed-off-by: Sebastian Reichel > --- > drivers/mfd/rk808.c | 48 +++++++++++++++------------------------------ > 1 file changed, 16 insertions(+), 32 deletions(-) Applied, thanks -- Lee Jones [李琼斯]