leds: mark led_classdev.default_trigger as const
LED classdev core doesn't modify memory pointed by the default_trigger, so mark it as const and we'll able to pass const char *s without getting compiler warnings. Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
Showing
想要评论请 注册 或 登录