Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1192409ybf; Thu, 27 Feb 2020 06:35:44 -0800 (PST) X-Google-Smtp-Source: APXvYqzUbE6V43/J4BQRXCY3ysPxzfrDRTivUAX1mcW1fsiFI4bLo5JgbT9tjl21id9zIgMG5it8 X-Received: by 2002:a9d:64ca:: with SMTP id n10mr3595150otl.325.1582814144098; Thu, 27 Feb 2020 06:35:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582814144; cv=none; d=google.com; s=arc-20160816; b=h93F9lQhvtLjFTlCbTyQD1z1sldvQfHwYfhQqCUyl/KGt3/b/sY0Q1mt8liDevq8gr dW3V8Oj1ZOAKCwz9/cmipLqZfE3rL3AtC9zJJjPJFky8xXIVUiUQgbl+1ci795c1bUTy SAfU0SHJMTj+wLXUjBMD8D/6nNkZbLgGLXAww0FPuazNg/pr1/1ZrzTI+wyhDh/L6G3G 8YYJGdkllU8H0GlO1+Z/6jf9Z48fJQguReS/Y3r2n/zzojW0Wywl/HEZG5TGgw8yvqq/ hY5l06kwyr7uPNoO+wim/pDLfKoTXwZyWFjzp8GRz9beR0DQnOr2SR7m6HDdNDuGBze9 ouvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=r16Rfx08Ae7A4dwEk8s3w8tsMalvaZ0A/lPoBxAboCI=; b=dudHsY37a/RulUGKlEG7GpYbmoArmLV5tst51nrHvAhBJpG+sAotxbaZhsTGZkwbHh esVldtZfAlYAF4QqJaGlKou10MlqLKm4Hvr/yo7pqcDnulDzkq3CBJS1dJf3rVQlq3Cl OFLw+ON10rYgCGAfCxmfbsxfAYetgph5arVcslHqRMinKkWbbVYdpfty9E2jq3L4uxai 70AcJue9Zp886W6g0xoSTcG7CiICc8a5ANUoY0rrnVRhEmcerB4hwQgDFbYytBbgLeQa 1jjgaogkiFz529slizY0ZLJT04q8PpNgI0CK52xrYduMrH35S884imO6PyeGOcTe93Hq 4CtA== 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 m12si1329816oim.195.2020.02.27.06.35.31; Thu, 27 Feb 2020 06:35:44 -0800 (PST) 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 S1732734AbgB0Odq convert rfc822-to-8bit (ORCPT + 99 others); Thu, 27 Feb 2020 09:33:46 -0500 Received: from mx2.suse.de ([195.135.220.15]:54244 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732522AbgB0OAG (ORCPT ); Thu, 27 Feb 2020 09:00:06 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0F330AD21; Thu, 27 Feb 2020 14:00:05 +0000 (UTC) Date: Thu, 27 Feb 2020 15:00:04 +0100 From: Thomas Bogendoerfer To: Pavel Machek Cc: Jacek Anaszewski , Dan Murphy , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [PATCH v5] leds: add SGI IP30 led support Message-Id: <20200227150004.97154811ecbd2f5ccc22fa64@suse.de> In-Reply-To: <20200226140058.GH4080@duo.ucw.cz> References: <20200224111733.10320-1-tbogendoerfer@suse.de> <20200226140058.GH4080@duo.ucw.cz> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 26 Feb 2020 15:00:58 +0100 Pavel Machek wrote: > > + switch (num) { > > + case IP30_LED_SYSTEM: > > + data->cdev.name = "white:system"; > > + break; > > + case IP30_LED_FAULT: > > + data->cdev.name = "red:fault"; > > + break; > > If the white LED normally serves as power indicator for the system, we > might want to specify that. Does it? it could be seen as such, but it will be turned on only after POST has finished successfull. So it's off if POST failed, which doesn't make it a real power led IMHO. Thomas. -- SUSE Software Solutions Germany GmbH HRB 36809 (AG N?rnberg) Gesch?ftsf?hrer: Felix Imend?rffer