[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <9489561e-bc41-481d-b542-07fed1161a03@app.fastmail.com>
Date: Tue, 03 Dec 2024 08:32:25 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Song Chen" <chensong_2000@....cn>,
"Mauro Carvalho Chehab" <mchehab@...nel.org>,
"Hans Verkuil" <hverkuil-cisco@...all.nl>
Cc: linux-kernel@...r.kernel.org, linux-media@...r.kernel.org
Subject: Re: [PATCH] drivers/media/pci/sta2x11: replace legacy GPIO APIs
On Tue, Dec 3, 2024, at 08:27, Song Chen wrote:
> GPIO subsystem is moving toward a descriptor-based approach
> from global GPIO numberspace, but some of legacy GPIO APIs
> callings still remain in sta2x11.
>
> This patch mainly replaces gpio_request with gpiod_get_index
> and removes including gpio.h.
>
> Signed-off-by: Song Chen <chensong_2000@....cn>
> ---
This is a step in the right direction, but realistically we
should just remove this driver. I'm planning to send a patch
to remove the sta2x11 platform from arch/x86 in a few days
as we had discussed years ago but never actually done.
Arnd
Powered by blists - more mailing lists