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=-5.3 required=3.0 tests=BAYES_00, 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 0AD38C433E1 for ; Sat, 27 Mar 2021 22:20:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D37D2619A9 for ; Sat, 27 Mar 2021 22:20:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230476AbhC0WTh (ORCPT ); Sat, 27 Mar 2021 18:19:37 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:52908 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231187AbhC0WT3 (ORCPT ); Sat, 27 Mar 2021 18:19:29 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 625DE1C0B78; Sat, 27 Mar 2021 23:19:25 +0100 (CET) Date: Sat, 27 Mar 2021 23:19:25 +0100 From: Pavel Machek To: Geert Uytterhoeven Cc: Robin van der Gracht , Rob Herring , Miguel Ojeda , Paul Burton , Greg Kroah-Hartman , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:BROADCOM NVRAM DRIVER" , Linux Kernel Mailing List , linux-leds , Dan Murphy Subject: Re: [PATCH 17/17] auxdisplay: ht16k33: Add segment display LED support Message-ID: <20210327221925.GA2875@duo.ucw.cz> References: <20210322144848.1065067-1-geert@linux-m68k.org> <20210322144848.1065067-18-geert@linux-m68k.org> <543ec200931af3192541fef51bc8e96a@protonic.nl> <20210323204038.GA10002@duo.ucw.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > > > - err =3D ht16k33_brightness_set(priv, MAX_BRIGHTNESS); > > > > > + of_property_read_u32(node, "color", &color); > > > > > + seg->led.name =3D devm_kasprintf(dev, GFP_KERNEL, > > > > > + DRIVER_NAME ":%s:" LED_FUNCTION_BACKLIGHT, > > > > > + color < LED_COLOR_ID_MAX ? led_colors[color= ] : ""); > > > > And would prefer not to see driver_name as part of LED name. >=20 > OK. So what should I use instead? Or just leave the part before the > first colon empty? I'd suggest auxdisplay:...:backlight. And we should start documenting this somewhere. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYF+vbQAKCRAw5/Bqldv6 8vIVAJ4qlSRzvhciUBHaas551C0aXPZaagCdHZUf4XdLOddTipE09Am0CLnpWDE= =QSsl -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf--