[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200715195521.330824f1@dellmb.labs.office.nic.cz>
Date: Wed, 15 Jul 2020 19:55:21 +0200
From: Marek BehĂșn <marek.behun@....cz>
To: Pavel Machek <pavel@....cz>
Cc: Ondrej Jirman <megous@...ous.com>, linux-kernel@...r.kernel.org,
Jacek Anaszewski <jacek.anaszewski@...il.com>,
Dan Murphy <dmurphy@...com>,
"open list:LED SUBSYSTEM" <linux-leds@...r.kernel.org>
Subject: Re: [PATCH RFC] leds: Add support for per-LED device triggers
On Wed, 15 Jul 2020 19:07:27 +0200
Marek BehĂșn <marek.behun@....cz> 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.
Powered by blists - more mailing lists