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 37122C63709 for ; Thu, 8 Dec 2022 12:41:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229982AbiLHMlv (ORCPT ); Thu, 8 Dec 2022 07:41:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbiLHMls (ORCPT ); Thu, 8 Dec 2022 07:41:48 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B00F58000; Thu, 8 Dec 2022 04:41:48 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id ED05AB823A1; Thu, 8 Dec 2022 12:41:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BE46C433D6; Thu, 8 Dec 2022 12:41:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670503305; bh=dMXfN+dLPHMlr3tBQTVs8tArv5agk8+7shaxgICP7cM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WLpkQSwKeuifV1wHpWPjzlu7yRwXMDOMdMa2PAtYMnxABzQn0MtAW0YDsAj0sMuwc C9F36/oEPh/05y9gVgTEifbhrgQwN/tSRZFGCBxGqJhw12b0Tp3Ryi2Bcl0QQV2NRs U+O0y53tuAO/f+UMdl2ED65aWjfq7fhMdv7h66nkXboHYAgl6dRd2VPomZWaUsGJVa 0TPbm8MQLdOhlRNIztYHyZN23CbaYrnPyCp+BUdCA7IE9Dx2eSm9RahhIvEqJXphgS EyZvE4Bn1bEEV5Hl3m7L8x6fsuQ7NSiv3db9VXoCJYjtwIhs5ZhBvaz5x44uoSoSfG VgGHH7LmS3Ixw== Date: Thu, 8 Dec 2022 12:41:40 +0000 From: Lee Jones To: Christophe JAILLET Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH 2/2] mfd: qcom_rpm: Use devm_of_platform_populate() to simplify code Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 20 Nov 2022, Christophe JAILLET wrote: > Use devm_of_platform_populate() instead of hand-writing it. > This simplifies the code. > > Signed-off-by: Christophe JAILLET > --- > This changes the order of the clean-ups if the .remove() function is called > but it looks fine to me. > --- > drivers/mfd/qcom_rpm.c | 12 +----------- > 1 file changed, 1 insertion(+), 11 deletions(-) Applied, thanks. -- Lee Jones [李琼斯]