Re: [PATCH RFC] leds: Add support for per-LED device triggers

From: Marek Behún
Date: Wed Jul 15 2020 - 13:55:27 EST


On Wed, 15 Jul 2020 19:07:27 +0200
Marek BehÃn <marek.behun@xxxxxx> wrote:

> This should instead check:
> the names are same and both trigger have the same type (either none
> or same). In that case return -EEXIST.

My bad, this is of course wrong. -EEXIST should be returned if the
names are same and triggers have same type or one of them has no type.