[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75VeDGa9eKJv+4F13LRLhCutTWOhQcU66CnDaeTLCsSbP8A@mail.gmail.com>
Date: Thu, 20 Jul 2023 19:06:44 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Andrei Coardos <aboutphysycs@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
andy@...nel.org, brgl@...ev.pl, linus.walleij@...aro.org,
Alexandru Ardelean <alex@...uggie.ro>
Subject: Re: [PATCH] gpio : max77620: remove unneeded platform_set_drvdata() call
On Thu, Jul 20, 2023 at 4:26 PM Andrei Coardos <aboutphysycs@...il.com> 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.
Use full room of the lines, no need to start each sentence at a new line.
Also, fix the Subject.
It should be prefixed with "gpio: DRIVER: ", where DRIVER is one in
question. This applies to all your last patches.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists