Re: [PATCH v7] media: s5k4ecgx: Switch to GPIO descriptors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 8, 2022 at 6:42 PM Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:
> On Tue, Nov 08, 2022 at 01:16:23PM +0100, Linus Walleij wrote:
> > The driver has an option to pass in GPIO numbers from platform
> > data but this is not used in the kernel so delete this and the
> > whole platform data mechanism.
> >
> > Get GPIO descriptors using the standard API and simplify the code,
> > gpiolib will handle any inversions.
>
> I think we should simply delete the driver. It does not currently
> support OF, and I see no traces of any boards present in mainline using
> it, so why to keep it?

Good point, I think you said it before.

It's such a self-contained driver so I thought it's sad to just delete it.

I suggest I send a patch series of two, this patch and a patch
deleting it after, so if someone wants to resurrect it and use it
they can just revert the deletion patch.

Yours,
Linus Walleij



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux