Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp200809ybv; Sat, 22 Feb 2020 02:08:15 -0800 (PST) X-Google-Smtp-Source: APXvYqxL2Yg3yFZLo0jDTvoDEImFSGleCCGwvFcsdFjW9rv8Blhu1XiOvwVg3Fz9ubH/WPvHvxG5 X-Received: by 2002:a9d:6653:: with SMTP id q19mr32923219otm.94.1582366095086; Sat, 22 Feb 2020 02:08:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582366095; cv=none; d=google.com; s=arc-20160816; b=ydQotb3ZixLSHVC+PEoJsbj/L+8JoU6QJMBzEU1ta2lZBU//V9ARUwJnCG4XS2REY0 lKMuEBdHY0k6scgar8wJ1SalQkGNtw7zCByH6wdQZy4ktWmRtHMxSyw+kS+XsYboFQ/W 78Rpv82/UtZJgVhqfJ6b7M/IlS4SxDAfqV3HhB/z8Yhb/ndwI08dFzyk2LbaAESlFxDM ZcU95bULkiVkct8NHc9IJOeiVJC32ume3bQE0TEKyCdtc+swyGhgM7uYTuEx+SdYenpn 5MqQAmbCr1g48T7OllgOmxNEy0ZXSSOsvuGCTRwWKQymlefWPi5F3X7jaxKCuLVkAw7W MzgA== 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=seJxAB7ji1I6wLcIFLeMbpKXIx451eleQFEiKlG3YIs=; b=WgH/ljOGDHgPCb2OoM7n08rpF8C03txClH1rEBBx9kLKLvyMcEJ4nj9Q5M24zomyTG BsBczD4hb0LEsozT41FkZ06UPm0SNF7VZ2rFhiPBYKuFSR+CfYxOSISZTUounookIaM8 7dwsPj5b8ZlXIj1ODAQqmPbp4vxQwSWF2mDxZb0q/77yKq5gqDT5Lmdtn2RGWKTxnle/ 1DU7H1jtqb+6FopuMNhhzDwNJ4gKloxOoNnfALEM4fkEX4+X2/MSKQCkYBhO7Xxq2dmi uy1NV4OKQPoWoOrmIu2ZuLT8+q0EzGa7GDc/rjAIGT1hh9CIysOcPT/NH0RCb/aH5RTY djsQ== 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 d125si1967349oia.86.2020.02.22.02.07.46; Sat, 22 Feb 2020 02:08:15 -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 S1727125AbgBVKFs convert rfc822-to-8bit (ORCPT + 99 others); Sat, 22 Feb 2020 05:05:48 -0500 Received: from mx2.suse.de ([195.135.220.15]:48310 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726675AbgBVKFs (ORCPT ); Sat, 22 Feb 2020 05:05:48 -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 7357CADF8; Sat, 22 Feb 2020 10:05:46 +0000 (UTC) Date: Sat, 22 Feb 2020 11:05:45 +0100 From: Thomas Bogendoerfer To: Jacek Anaszewski Cc: Pavel Machek , Dan Murphy , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [PATCH v4] leds: add SGI IP30 led support Message-Id: <20200222110545.fc96683543cb0dd538e5be82@suse.de> In-Reply-To: <49524a9a-910a-9f1a-bc10-d78080a16d46@gmail.com> References: <20200221111120.28799-1-tbogendoerfer@suse.de> <49524a9a-910a-9f1a-bc10-d78080a16d46@gmail.com> 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 Fri, 21 Feb 2020 21:31:04 +0100 Jacek Anaszewski wrote: > > + if (num == 0) > > + data->cdev.name = "white:indicator"; > > + else > > + data->cdev.name = "red:indicator"; > > Why indicator? Whereas it sounds quite generic it is used in the LED > subsystem specifically for naming indicator LEDs, that are often > found on flash LED controllers and are designed to indicate camera > sensor activity. ok, ic. > If it is on the front panel of SGI Octane workstations then its > function is perhaps well known? the red LED is clearly a fault led. The white LED will be switch on after system diagnostic was successfull. Nothing from common.h really fits that, maybe status ? Thomas. -- SUSE Software Solutions Germany GmbH HRB 36809 (AG N?rnberg) Gesch?ftsf?hrer: Felix Imend?rffer