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 8286BC001B0 for ; Tue, 8 Aug 2023 21:43:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230122AbjHHVnG convert rfc822-to-8bit (ORCPT ); Tue, 8 Aug 2023 17:43:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231151AbjHHVnC (ORCPT ); Tue, 8 Aug 2023 17:43:02 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22F3A4B8E7 for ; Tue, 8 Aug 2023 09:52:07 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qTN3i-0007yD-Bp; Tue, 08 Aug 2023 15:47:38 +0200 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1qTN3h-001zoO-Iu; Tue, 08 Aug 2023 15:47:37 +0200 Received: from pza by lupine with local (Exim 4.96) (envelope-from ) id 1qTN3h-000DYr-0p; Tue, 08 Aug 2023 15:47:37 +0200 Message-ID: Subject: Re: [PATCH] reset: zynqmp: removed unneeded call to platform_set_drvdata() From: Philipp Zabel To: Andrei Coardos , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: michal.simek@amd.com, alex@shruggie.ro Date: Tue, 08 Aug 2023 15:47:37 +0200 In-Reply-To: <20230807114344.15076-1-aboutphysycs@gmail.com> References: <20230807114344.15076-1-aboutphysycs@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mo, 2023-08-07 at 14:43 +0300, Andrei Coardos wrote: > This function call was found to be unnecessary as there is no equivalent > platform_get_drvdata() call to access the private data of the driver. Also, > the private data is defined in this driver, so there is no risk of it being > accessed outside of this driver file. > > Signed-off-by: Andrei Coardos Thank you, applied to reset/next. regards Philipp