[PATCH 0/2] LED trigger on MTD activity
Ezequiel Garcia
ezequiel at vanguardiasur.com.ar
Tue Apr 12 09:26:33 PDT 2016
After our recent discussion [1], here's a proper patchset.
The first patch is a minor cleanup which moves mtd_write_oob
out of mtd.h header.
The second patch implements the LED trigger. Unfortunately,
it depends on the first patch, so it might make sense to take
this two through the MTD tree with Jacked acknowledgement.
Feedback is welcome!
[1] http://www.spinics.net/lists/linux-leds/msg05906.html
Ezequiel Garcia (2):
mtd: Uninline mtd_write_oob and move it to mtdcore.c
leds: trigger: Introduce a MTD (NAND/NOR) trigger
drivers/leds/trigger/Kconfig | 8 +++++++
drivers/leds/trigger/Makefile | 1 +
drivers/leds/trigger/ledtrig-mtd.c | 49 ++++++++++++++++++++++++++++++++++++++
drivers/mtd/mtdcore.c | 19 +++++++++++++++
drivers/mtd/nand/nand_base.c | 29 +---------------------
include/linux/leds.h | 6 +++++
include/linux/mtd/mtd.h | 12 +---------
7 files changed, 85 insertions(+), 39 deletions(-)
create mode 100644 drivers/leds/trigger/ledtrig-mtd.c
--
2.7.0
More information about the linux-mtd
mailing list