[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZLgBozzucZdLwLc+@smile.fi.intel.com>
Date: Wed, 19 Jul 2023 18:30:43 +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] gpio: logicvc: remove unneeded platform_set_drvdata()
call
On Wed, Jul 19, 2023 at 12:48:03PM +0300, Andrei Coardos wrote:
> The platform_set_drvdata() isn't needed for anything. The function is a
> simple setter that doesn't change anything in the code. That is because
> there isn't a get function and since it has no dependencies it can be
> removed.
Reviewed-by: Andy Shevchenko <andy@...nel.org>
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists