Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1116160ybn; Wed, 2 Oct 2019 11:04:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9YUmzp2Jd1Zb1NRtl3uILAP2ZMTa/OhW0XL7HxVC26+n2UE4N8OupWg9ToRaHo1ioVHn+ X-Received: by 2002:aa7:cf86:: with SMTP id z6mr5109409edx.230.1570039491994; Wed, 02 Oct 2019 11:04:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570039491; cv=none; d=google.com; s=arc-20160816; b=FUuIuBxe5EvZiTTJ3B+Ig87mEWfz9h8apxA514IM6wMxPlL93DkpzXw0/c20+68AzP NQceOEKWB8skRMFApiiUONJUl/LC2MmNotz5MqccoCdD+kICdbm0wMBJl9AU/6/p91QV rac7eoKajWOsLwo1pryXykgUpIK4jRWIDc2eUKzo4vjoB5mEIkCRrs/khW4nMCYRhbNi cM8mKFEVvo7MBAd5PilU0Y3hASoRFacv5dkqGvVyCqBHoK+SvkQl+RlAm85CKR3yzAV2 K2WGqlus5TLj2tgii/PJ9pX0YaH4hOYhCzWtJ9bLD7BHYN6HYktnmLyVbKH7wPYpPPBd ctmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=oqZwiDB20grMW1/d9HZFeG2+EVDrVIFmHfMkjM/7sqQ=; b=u6ld/KplhIpAs+xbzvfZ3X/Y/8ckWAKYs/BQhvJkdeJh5I2/pNVf8XU79SaszpzekA OhTE+QpPm8bp/6eKj7gaVvGkyjx/DMgY4Ptv04YbEsnSgfX/lAg+vFTZickNX8lJc20c asOsEKCIcOKfT5l3sBg/1nVxmM52KvfmEzFBFcnW0/7tjbi5IwOcQk98kIMBpRTN74Sk HGNG5uqdx/PHac8/4SufruovAZq0yfMFrtVHLvrfjrreMQwUn/d49aw5/8qHMvF89N7u t/OZSNB5icA308EptXxh6XNLiwQeFYkj27CArhJt+e0h1J9Zp8+GfPTiszioamkavXsO 4WYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gl26si11264631ejb.17.2019.10.02.11.04.25; Wed, 02 Oct 2019 11:04:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728266AbfJBSDc (ORCPT + 99 others); Wed, 2 Oct 2019 14:03:32 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:45141 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727268AbfJBSDc (ORCPT ); Wed, 2 Oct 2019 14:03:32 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id B49EE802D9; Wed, 2 Oct 2019 20:03:14 +0200 (CEST) Date: Wed, 2 Oct 2019 20:03:28 +0200 From: Pavel Machek To: Akinobu Mita Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , Jacek Anaszewski , Dan Murphy Subject: Re: [PATCH -next 0/2] leds: add substitutes for /sys/class/leds//trigger Message-ID: <20191002180327.GA13492@amd> References: <1570029181-11102-1-git-send-email-akinobu.mita@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: <1570029181-11102-1-git-send-email-akinobu.mita@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > Reading /sys/class/leds//trigger returns all available LED triggers. > However, this violates the "one value per file" rule of sysfs. >=20 > This series provides a new /sys/devices/virtual/led-trigger/ directory and > /sys/class/leds//current-trigger. The new api follows the "one value > per file" rule of sysfs. Lets not do this. We'll have to maintain the old interface, anyway, so it does not really help. Thanks, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl2U5m8ACgkQMOfwapXb+vJLOQCfaC+bQibVCrwNnM1twZAhfV6K /vgAn0/ANRXMC6faiGgSOvA8tZyh1z8Y =1/Zv -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT--