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 9C6B2C4332F for ; Thu, 17 Nov 2022 11:56:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239462AbiKQL4Q (ORCPT ); Thu, 17 Nov 2022 06:56:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234840AbiKQL4K (ORCPT ); Thu, 17 Nov 2022 06:56:10 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4098BC15; Thu, 17 Nov 2022 03:56:06 -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 A0F5EB8202A; Thu, 17 Nov 2022 11:56:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 803E1C433D7; Thu, 17 Nov 2022 11:56:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668686164; bh=9Fkhxq4OVC8lI+gbq2Q+peNCgyo1mLExv7tuyLyzo6c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=J3AEB9Q+Mk9s7FrPOPAT6vFDwzYtMPJjFx8pfI7ryuN00HjT4ITbAZzEjiuhbGmzp NyHj1P5/jBAUlQQL7ZSIWzBxEwjRdQ9WTxkJvzH4c88r7prmhM1zLAl9OoArll3M6x ZM1YwDiOZpK93F9OkdhIjPGR9Z1bXrFsJnE7RH05oRwIRr4qAbaaEA9sMXYZ1Kf3sH kiDASmrrkeEdzktw6gkaf3ZCmSGHVEUOADmR+JCemKw6BnlmrmT7Ga4fhnnHfMHa4x vmeuZhDbAefiXuF4wBcjQpdM5gf8+aKk7oweDVsvE0ifOYWvuoxJ7zcQ+YshY44OwA zN3CyXpmI79jA== Date: Thu, 17 Nov 2022 11:56:00 +0000 From: Lee Jones To: ye.xingchen@zte.com.cn Cc: tony@atomide.com, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH linux-next] mfd: palmas: Use device_get_match_data() to simplify the code Message-ID: References: <202211171952240424511@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202211171952240424511@zte.com.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Nov 2022, ye.xingchen@zte.com.cn wrote: > From: ye xingchen > > Directly get the match data with device_get_match_data(). > > Signed-off-by: ye xingchen > --- > drivers/mfd/palmas.c | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) Applied, thanks. -- Lee Jones [李琼斯]