[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210430183216.27458-1-ematsumiya@suse.de>
Date: Fri, 30 Apr 2021 15:32:09 -0300
From: Enzo Matsumiya <ematsumiya@...e.de>
To: linux-leds@...r.kernel.org, linux-block@...r.kernel.org
Cc: u.kleine-koenig@...gutronix.de,
Enzo Matsumiya <ematsumiya@...e.de>,
Jens Axboe <axboe@...nel.dk>, Pavel Machek <pavel@....cz>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: [RFC PATCH 0/2] leds: trigger: introduce block trigger
Inspired by https://lore.kernel.org/linux-leds/20190817145509.GA18381@amd/T/
and the ledtrig-usbport implementation.
This patch series introduce a new LED trigger for block devices.
Signed-off-by: Enzo Matsumiya <ematsumiya@...e.de>
Enzo Matsumiya (2):
block: export block_class and disk_type symbols
leds: trigger: implement block trigger
block/genhd.c | 2 +
drivers/leds/trigger/Kconfig | 10 +
drivers/leds/trigger/Makefile | 1 +
drivers/leds/trigger/ledtrig-block.c | 293 +++++++++++++++++++++++++++
4 files changed, 306 insertions(+)
create mode 100644 drivers/leds/trigger/ledtrig-block.c
--
2.31.1
Powered by blists - more mailing lists