[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZL/K2olzr2FHP/gc@smile.fi.intel.com>
Date:   Tue, 25 Jul 2023 16:15:06 +0300
From:   Andy Shevchenko <andy@...nel.org>
To:     Andrei Coardos <aboutphysycs@...il.com>
Cc:     linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
        brgl@...ev.pl, linus.walleij@...aro.org,
        Alexandru Ardelean <alex@...uggie.ro>
Subject: Re: [PATCH v2] gpio: max77620: remove unneeded
 platform_set_drvdata() call
On Tue, Jul 25, 2023 at 03:36:23PM +0300, Andrei Coardos wrote:
> This function call is not required because no counterpart
> platform_get_drvdata() call is present to leverage the private data of
> the driver.
> Since the private data is confined to this driver file, external access
> is not feasible.
> The use of this function appears redundant in the current context of the
> driver's implementation.
Reviewed-by: Andy Shevchenko <andy@...nel.org>
-- 
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists
 
