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 A9DE4C04A95 for ; Wed, 28 Sep 2022 13:52:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233276AbiI1NwE (ORCPT ); Wed, 28 Sep 2022 09:52:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233380AbiI1NwA (ORCPT ); Wed, 28 Sep 2022 09:52:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9768E786C9; Wed, 28 Sep 2022 06:51:59 -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 EFDFD61E7B; Wed, 28 Sep 2022 13:51:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16BB2C433D6; Wed, 28 Sep 2022 13:51:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664373118; bh=ROqLS98VGR+VwDcyhPpFKMOIVZET4jcf8OvFsP707zY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jHDEpF2TQL0WX+xB2qPBHQTOVbMKScDc2Jh159+954zJYLNRz65uOi1TqxdCXcUJa zp8DFzhyGpEjSLOEEwM0uri7zr3u3+3Ik97vS6FzBGNV6LnvrzW9g8kxGahq2QryU0 OCKilBJGnDrQnirnAZDtAe/MoXwZM+2CNe3ACFevjWrr/fbldP9oTTYuRGsFvCNrdi K6DhIhREDSni09KjL4ZxK5sjilkJ9V4G/sK0pC0fuBUAJwhfKEOlCu6aUOthwabph/ Vq+A5dRV1EUz1gKfoA9OorxqkEqX0RC1ETsigtW4K7nYY4kMv8dS26znfPti2qhkH1 0jQVR86c6VHGw== Date: Wed, 28 Sep 2022 14:51:51 +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 Subject: Re: [PATCHv3 02/14] mfd: rk808: use dev_err_probe Message-ID: References: <20220909175522.179175-1-sebastian.reichel@collabora.com> <20220909175522.179175-3-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: <20220909175522.179175-3-sebastian.reichel@collabora.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 09 Sep 2022, 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. > > Signed-off-by: Sebastian Reichel > --- > drivers/mfd/rk808.c | 48 +++++++++++++++------------------------------ > 1 file changed, 16 insertions(+), 32 deletions(-) For my own reference (apply this as-is to your sign-off block): Acked-for-MFD-by: Lee Jones -- Lee Jones [李琼斯]