[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210810183914.47727056@thinkpad>
Date: Tue, 10 Aug 2021 18:39:14 +0200
From: Marek BehĂșn <kabel@...nel.org>
To: Ian Pilcher <arequipeno@...il.com>
Cc: Greg KH <gregkh@...uxfoundation.org>, axboe@...nel.dk,
kernelnewbies@...nelnewbies.org, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org, pavel@....cz, pali@...nel.org,
hch@....de, linux-leds@...r.kernel.org
Subject: Re: [RFC PATCH v2 00/10] Add configurable block device LED triggers
On Tue, 10 Aug 2021 18:24:12 +0200
Greg KH <gregkh@...uxfoundation.org> wrote:
> > Sounds good. I'll work something up. (I'm actually thinking that
> > class_find_device() may be the best way to go, as it grabs a reference
> > to the device.)
>
> There should not be anything "odd" about block devices here, just do
> whatever all other LED drivers do when referencing a device.
Ian, look at ledtrig-tty and maybe get inspiration from there :)
Marek
Powered by blists - more mailing lists