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 5CC94EB64DB for ; Sat, 17 Jun 2023 15:41:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235902AbjFQPlw (ORCPT ); Sat, 17 Jun 2023 11:41:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbjFQPlt (ORCPT ); Sat, 17 Jun 2023 11:41:49 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ADB91BD; Sat, 17 Jun 2023 08:41:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=4ExZ8GqNSa7s8Rce/NjY80ME5m/4r9zasVi+kr80/IM=; b=A93Q4ogtDmr16Jw2XklVt8NiAJ vCD3zNp19beBxynPCg3Y5Jm6w9DGFHM93GbzCh5AqcaSBLorHi300M+Q5A1rT4HLVt9EkdF+IMIuy /mA57t3nul1p9eL1HrSoRFf4jjdzg3hbZwvvAH6yp0iNww5F4GFwBp0FOPZY+/vbI+Qg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qAY3M-00Go1O-PF; Sat, 17 Jun 2023 17:41:28 +0200 Date: Sat, 17 Jun 2023 17:41:28 +0200 From: Andrew Lunn To: Christophe JAILLET Cc: Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next] net: phy: at803x: Use devm_regulator_get_enable_optional() Message-ID: <7fc42fc1-3a67-4286-9fc9-5d26401e7c83@lunn.ch> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 17, 2023 at 04:24:37PM +0200, Christophe JAILLET wrote: > Use devm_regulator_get_enable_optional() instead of hand writing it. It > saves some line of code. > > Signed-off-by: Christophe JAILLET Reviewed-by: Andrew Lunn Andrew