leds: add led_trigger_rename function
Implements a "led_trigger_rename" function to rename a trigger with proper locking. This assumes that led name was originally allocated in non-constant storage. Signed-off-by: NFabio Baltieri <fabio.baltieri@gmail.com> Cc: Kurt Van Dijck <kurt.van.dijck@eia.be> Signed-off-by: NBryan Wu <cooloney@gmail.com>
Showing
想要评论请 注册 或 登录