Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1142929pxb; Thu, 4 Mar 2021 04:35:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwstwDwigTOsEIBIfRdObPlcPvWrCV5BAzRvHar6YZwZcBOVwH311Ld3GUVd/7ZUqbsLdv X-Received: by 2002:aa7:dc17:: with SMTP id b23mr4115817edu.139.1614861338841; Thu, 04 Mar 2021 04:35:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614861338; cv=none; d=google.com; s=arc-20160816; b=xdgFKD+rgXJ+8hcJPiNNnGtfpM16bmqh+dzvEJL2l8Ha3cROdu6YYgUZc4VaOoqNDh F6ThOHQTK+NySjMKVLtdWfBIdiDT+NhCobmyLF/C6nMJP2HW1LY5iy9no15iJ/FE0bL7 td4j5ocDXOe8GedIBMkMDOevImyXiHHjTlK4EeDqpYd5iJJJ1qaQ9ToQ841sn50vzUzj 2fuJzcmKhJBJDC/25EOIiR4fFKEF/3lwZDZDxZ0yFqYyTM/HWc4zOxdYPM1PzmEnpaAs weYldgDX3kPhLdMLPcDeasBxL8SYcumXQNbRs2pXAVpoP4+bQIhL5NLruGuBwMOoAE4n b8Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=6Oq+F8I/kvuOnLnN7YJQYwYB9O54QKeJ4snBgclvgWQ=; b=WoOTiQdwufHOkh3Ucj7GFWDnYcn6s+i/3aY8VCoe9lpScDIocx1vhue83OJOKjMLP1 UbHKPKuBOeTJPyfcO/kBbc5QttMVBhDpgMY23k/sj7Q3HEXY+7S156KXZiNN9OM4IG8r qVqot7Uu7ahF/W0/ca9W46sGIltv554W72Y/VxLpK1rldq7bxRvtrQfmoXZ8qSevE4U7 ufJWtJ2QkNRQg7vyaIaIiBzIrIwwPIt7dsQpmKBX50fWoxLDaWeoLSZ2D/4mlZ6e7zQr Xdvlhxdgehf0/+aa6ZyUwymnVkMvauZbnrbTQpmYhUSoU7ytyJt5meB3bfFL7jZzp5TL oiAA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rp14si9508163ejb.435.2021.03.04.04.35.15; Thu, 04 Mar 2021 04:35:38 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351049AbhCCTX3 (ORCPT + 99 others); Wed, 3 Mar 2021 14:23:29 -0500 Received: from gecko.sbs.de ([194.138.37.40]:36180 "EHLO gecko.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1838579AbhCCTBG (ORCPT ); Wed, 3 Mar 2021 14:01:06 -0500 Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id 123IxwIh025455 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 3 Mar 2021 19:59:58 +0100 Received: from md1za8fc.ad001.siemens.net ([139.22.36.86]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 123InvaB000593; Wed, 3 Mar 2021 19:49:57 +0100 Date: Wed, 3 Mar 2021 19:49:56 +0100 From: Henning Schild To: Pavel Machek Cc: , , , , Srikanth Krishnakar , Jan Kiszka , Gerd Haeussler , Guenter Roeck , Wim Van Sebroeck , Mark Gross , Hans de Goede Subject: Re: [PATCH 2/4] leds: simatic-ipc-leds: add new driver for Siemens Industial PCs Message-ID: <20210303194956.5b36a73c@md1za8fc.ad001.siemens.net> In-Reply-To: <20210303174040.GA3305@amd> References: <20210302163309.25528-1-henning.schild@siemens.com> <20210302163309.25528-3-henning.schild@siemens.com> <20210302205452.GA32573@duo.ucw.cz> <20210303183714.62c0f06f@md1za8fc.ad001.siemens.net> <20210303174040.GA3305@amd> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Wed, 3 Mar 2021 18:40:40 +0100 schrieb Pavel Machek : > Hi! > > > > > diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile > > > > index 2a698df9da57..c15e1e3c5958 100644 > > > > --- a/drivers/leds/Makefile > > > > +++ b/drivers/leds/Makefile > > > > @@ -93,6 +93,7 @@ obj-$(CONFIG_LEDS_TURRIS_OMNIA) > > > > += leds-turris-omnia.o > > > > obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o > > > > obj-$(CONFIG_LEDS_WM8350) += leds-wm8350.o > > > > obj-$(CONFIG_LEDS_WRAP) += leds-wrap.o > > > > +obj-$(CONFIG_LEDS_SIEMENS_SIMATIC_IPC) += > > > > simatic-ipc-leds.o > > > > > > Let's put this into drivers/leds/simple. You'll have to create > > > it. > > > > Can you please go into detail why? We plan to add more devices in > > the future, which might in fact make this a little less simple. But > > we can discuss that when the time is right and start with simple. > > There's already way too many drivers in the directory, and your driver > is very different from drivers for camera flash (for example). Understood, the whole Makefile Kconfig thingy? Henning > Best regards, > Pavel