[RFC PATCH v3 04/18] ledtrig-blkdev: Add misc. helper functions to blkdev LED trigger