Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2543324pxf; Sat, 27 Mar 2021 15:22:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoJM7gEw2iZH39kX7XFByO9sXn/OFVixyTAZ8m1EpMtMsWhUGHuwcqpvFeXqziEIcilz3+ X-Received: by 2002:a05:6402:2744:: with SMTP id z4mr22133392edd.347.1616883759124; Sat, 27 Mar 2021 15:22:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616883759; cv=none; d=google.com; s=arc-20160816; b=QhVletF7J3BzXLnOKsQo0DlbZ30F+puxbOF3660iumWGqj7u0d+zElvd/nT6Gd+/8f 4mJscegUHn43AH0QSUa4s7jxm2M5LBE8XbSL0xLHzu4FVlyStkrWV438+W3ubhpgiQOL eY/Bfk16gz8Oa6SEbrKrlg9Oe/5mQ6Yryrw5RXYhAMluZwmNvIltSeGshiU5dEByl5DV e2viMfm7k3M9lqBimtvwO7vAgh3XfMclVW+OnXhdB4SXqvZLkPgtg69dhv1FDywArwdT gS9SW9Qz8+68EOUUZkAVGO3tbxCMv+zSgRJzGHB6iJ5Vbo7/iOMQ7CotMVx6ez8/eC1S Tbrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=BrDbyvev8+nIb42fZJ7L34Xm7QkVISGoPjZhVjIjl4s=; b=cZk/fu1+FXQszxE0XAR801zL0O4mxzOkd5zOFIixgR4U3KaGEoxGi5U3WpULpwUeK3 UJUCvmcK0vVdoJYeZnqntIe971ijurP8v4R/6VvlZhA0lLpGwQ/4kaDSraF3PAjlRRor mIMYaaADjQkajhy6CWzlikBN9tdJggN5paz9RMVG+nVDPN+LkOJuOjSC1vCI4vW8L5sO dhoUdje5tP8RNy0oAUr0oMn5eCfTL6R/pMdNHvX+ksddVkaV4zxuuZgGdNBmt4qYyWvP 5KWHKAxW04bbFfnrkhI/JVycogcXPt7ghPIlBK2duVYRqUtrMSNjKoceidYI9s0veZ0e Cdfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m10si9154372edd.22.2021.03.27.15.21.47; Sat, 27 Mar 2021 15:22:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231177AbhC0WTg (ORCPT + 99 others); Sat, 27 Mar 2021 18:19:36 -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--