On Sat, 09 Dec 2023 23:54:51 +0100, Heiner Kallweit wrote: > I don't see why we iterate over all triggers to find the panic trigger. > We *are* the panic trigger. Therefore we also know that the panic > trigger doesn't have an activate() hook. So we can simplify the code > significantly. > > Applied, thanks! [1/1] leds: trigger: panic: simplify led_trigger_set_panic commit: 682e98564ffb67989a77002844767318d366a9ee -- Lee Jones [李琼斯]