leds: pattern trigger -- check pattern for validity
authorPavel Machek <pavel@ucw.cz>
Fri, 24 Jul 2020 10:43:47 +0000 (12:43 +0200)
committerPavel Machek <pavel@ucw.cz>
Fri, 24 Jul 2020 10:43:57 +0000 (12:43 +0200)
commitfeff72735b316e268da4ccc04091977e8f89a721
treec4733e5dab0790595cdead18cfbea8a0f045a937
parentc5437338150e4914328c975767056d2dedacfd21
leds: pattern trigger -- check pattern for validity

Don't allow invalid brightness in the pattern.

Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/trigger/ledtrig-pattern.c