From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B56BBC4360D for ; Sun, 8 Sep 2019 20:26:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 89A2F21479 for ; Sun, 8 Sep 2019 20:26:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729094AbfIHU0Y (ORCPT ); Sun, 8 Sep 2019 16:26:24 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:37229 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726270AbfIHU0X (ORCPT ); Sun, 8 Sep 2019 16:26:23 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 6278A81EDE; Sun, 8 Sep 2019 22:26:07 +0200 (CEST) Date: Sun, 8 Sep 2019 22:26:20 +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 3/5] driver core: class: add function to create /sys/class//foo directory Message-ID: <20190908202620.GA9220@amd> References: <1567946472-10075-1-git-send-email-akinobu.mita@gmail.com> <1567946472-10075-4-git-send-email-akinobu.mita@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <1567946472-10075-4-git-send-email-akinobu.mita@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > This adds a new function class_kobject_create_and_add() that creates a > directory in the /sys/class/. >=20 > This function is required to create the /sys/class/leds/triggers directory > that contains all available LED triggers. Lets not do this. With your fixes (1,2/5), we'll have reasonable interface for triggers. We don't need a new one. [And yes, we'll want to do something with the cpu activity trigger, too.] Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --/04w6evG8XlLl3ft Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl11Y+wACgkQMOfwapXb+vIBGgCfWdt4Yu+BdPDnU5QcgnUUIarP fI0AoITMKEpAjkFtHJW7ZUYvFbSA40YC =KRwV -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--