Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6066863ybe; Tue, 17 Sep 2019 19:23:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHSlonEbhXlvDgP3T0V4y0iFWYHBvYWVjSUI+M2Bq72CRzfS1OknAwh08L9ry6Pc1KDD7m X-Received: by 2002:a05:6402:1299:: with SMTP id w25mr7988911edv.1.1568773399676; Tue, 17 Sep 2019 19:23:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568773399; cv=none; d=google.com; s=arc-20160816; b=Z2CjCiOa+Xs0AlQU6+zqyW3CTMTP85/xihng++eILmlTp7N/NuB6E0bleLuLoQcM7P kzLawtsf6xRg3Qm6zPaZp07rUn8rouMMGR3Xy5iiHI+KFIAFqIEIwvEorSdNeAG3FnYf oR7tC6areOYVk9qRLOS2sqWx3Fgzb3c/jITCE/ckr4fidRS3bQXdTEQ+Gq5xrHSiyYY4 UJuyx0/2HxsasoFBJ8696NeK9RvyVg2ynisLP8yeTUfkHZd5eAe0p8ZBTgNw3YgBlrIs zPCIcOTafmCy/l1yGGjsGw+3+sG5xQV+iRVj4MdbH2VQay3JJBkzzxg6N2vSKlhi4vwh jnTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=z9sK1ngN/n6Bki2rTXsaIHGzKhpD8qU//AwbTzCHcEM=; b=PzrgXPhY/4snFwmrKj5L/4H5lVkhkZz0x9zwi0fhF5dBzj61veP7QjPHMQtUWQg6JG dde9P/Td8ByS6HnM6QLl7fOjTmk4obgVqFPUiBxq1HmMfxJ95NgGifbOX1pTEU8o+Cg5 20s8SqCqQ051P9Ujiv58a77DMfo+cBekqI+4LwKrOy4R6yII54lig8ae/ncpPvTXeX02 EQIr3mWCvid3+eAedxmtH4/ArfGfIbfMt6bb0jd7nUe+wXArmd1VJb4pzwbB1lr+Q0aQ A5jeqQVf021/ewzosl8quE6ZvcElXJ1tp+nKoC0JBt/KfDosnfzTSVocrF9YtUkYRyW6 WYpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Lv1OlFB+; 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 ng7si2093789ejb.91.2019.09.17.19.22.55; Tue, 17 Sep 2019 19:23:19 -0700 (PDT) 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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Lv1OlFB+; 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 S1726527AbfIRBT0 (ORCPT + 99 others); Tue, 17 Sep 2019 21:19:26 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:42826 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725834AbfIRBTZ (ORCPT ); Tue, 17 Sep 2019 21:19:25 -0400 Received: by mail-lf1-f66.google.com with SMTP id c195so4335180lfg.9 for ; Tue, 17 Sep 2019 18:19:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z9sK1ngN/n6Bki2rTXsaIHGzKhpD8qU//AwbTzCHcEM=; b=Lv1OlFB+vE/8hyhp6ljiiZQvJidCEy0ZgSymKjsTaYB5I3jEEpIO7SIuzdDDctYw3m z3Togu0rcN6U6Ol4q1onK9YPtDhox0+GJJH6YXbIiIlo70XiKJ/4a/pyYOsczsv4fhPu nWhCU33cEfqauY+INzFZh1Ld3jQnuh8pymZGI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z9sK1ngN/n6Bki2rTXsaIHGzKhpD8qU//AwbTzCHcEM=; b=Ia0YntqZwNZ2EDUzfWz+YbAMRWPjb1CO2eq3nztTxv2lcl58PieGyOumTciEWWKJBr 9rM9stVn1nNiTwvKsyyLOREkNm0xMjM8W113hI5EZ6Gqm6dJQWEixkgYJk9/jrqN/Pku b0XiM2O4zpG3TFQ+aYA/IfrmRPqp8G020GPg+/veVFrqFSZxofhf0F+Hoq+BC8fA+eDW 8teg10fr/GHIjVk8UThgkYE4pAMUp0eZPyQ4pLN6+eYm093r260awXAzjFxqu/Q3woG5 Rz1UNVtatARbgCrPHgOMHHIyOduzSyhFx7pr1/T8ZnU/g/js+jPEUvZCQXg4Z9ZItTkF AGZA== X-Gm-Message-State: APjAAAVsAIMPmMuS1cod+zAIgB3X33nMcPee1vij8XC3jFM/+nMndVl1 1VG1OTqAf811/HUfOJLUHVovsi8o1C4= X-Received: by 2002:a19:6504:: with SMTP id z4mr563960lfb.123.1568769561695; Tue, 17 Sep 2019 18:19:21 -0700 (PDT) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com. [209.85.208.177]) by smtp.gmail.com with ESMTPSA id f21sm864397lfm.90.2019.09.17.18.19.21 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Sep 2019 18:19:21 -0700 (PDT) Received: by mail-lj1-f177.google.com with SMTP id q64so5419104ljb.12 for ; Tue, 17 Sep 2019 18:19:21 -0700 (PDT) X-Received: by 2002:a2e:2c02:: with SMTP id s2mr632522ljs.156.1568769205183; Tue, 17 Sep 2019 18:13:25 -0700 (PDT) MIME-Version: 1.0 References: <20190916222133.9119-1-jacek.anaszewski@gmail.com> In-Reply-To: <20190916222133.9119-1-jacek.anaszewski@gmail.com> From: Linus Torvalds Date: Tue, 17 Sep 2019 18:13:09 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] LED updates for 5.4-rc1 To: Jacek Anaszewski , Greg Kroah-Hartman Cc: Linux List Kernel Mailing , linux-leds@vger.kernel.org, ada@thorsis.com, Andy Shevchenko , Bartosz Golaszewski , christophe.jaillet@wanadoo.fr, dmurphy@ti.com, "Gustavo A. R. Silva" , info@metux.net, Joe Perches , kw@linux.com, Linus Walleij , nishkadg.linux@gmail.com, nstoughton@logitech.com, oleg@kaa.org.ua, Suzuki K Poulose , Tony Lindgren , wenwen@cs.uga.edu, wsa+renesas@sang-engineering.com, Masahiro Yamada Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 16, 2019 at 3:21 PM Jacek Anaszewski wrote: > > There is one merge of tag with generic_lookup_helpers since > LED class has been made using class_find_device_by_name() helper: > > Merge tag 'generic_lookup_helpers' into for-next > platform: Add platform_find_device_by_driver() helper > drivers: Add generic helper to match any device > drivers: Introduce device lookup variants by ACPI_COMPANION device > drivers: Introduce device lookup variants by device type > drivers: Introduce device lookup variants by fwnode > drivers: Introduce device lookup variants by of_node > drivers: Introduce device lookup variants by name So this is fine and I've pulled it, but I have to say that I absolutely detest how this device.h header keeps just growing endlessly: [torvalds@linux]$ wc include/linux/device.h 1921 8252 66021 include/linux/device.h that's almost 2k of header file, and it's included a _lot_: [torvalds@linux]$ git grep include.*linux/device.h | wc 2518 5085 144875 and many of those includes are actually from other core header files, so it's effectively included from even more trees. Yes, yes, many of those 2k lines are comments. But still... Do we really want to have that humongous 65kB, 2kloc header file, and keep growing it forever? Greg? Linus