From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Jacek Anaszewski <jacek.anaszewski@gmail.com>,
Linux List Kernel Mailing <linux-kernel@vger.kernel.org>,
linux-leds@vger.kernel.org, ada@thorsis.com,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Bartosz Golaszewski <bgolaszewski@baylibre.com>,
christophe.jaillet@wanadoo.fr, dmurphy@ti.com,
"Gustavo A. R. Silva" <gustavo@embeddedor.com>,
info@metux.net, Joe Perches <joe@perches.com>,
kw@linux.com, Linus Walleij <linus.walleij@linaro.org>,
nishkadg.linux@gmail.com, nstoughton@logitech.com,
oleg@kaa.org.ua, Suzuki K Poulose <suzuki.poulose@arm.com>,
Tony Lindgren <tony@atomide.com>,
wenwen@cs.uga.edu, wsa+renesas@sang-engineering.com,
Masahiro Yamada <yamada.masahiro@socionext.com>
Subject: Re: [GIT PULL] LED updates for 5.4-rc1
Date: Wed, 18 Sep 2019 08:22:47 +0200 [thread overview]
Message-ID: <20190918062247.GA1855305@kroah.com> (raw)
In-Reply-To: <CAHk-=wgxNj_RBpE0xRYnMQ9W6PtyLx+LS+pZ_BqG31vute1iAg@mail.gmail.com>
On Tue, Sep 17, 2019 at 06:13:09PM -0700, Linus Torvalds wrote:
> On Mon, Sep 16, 2019 at 3:21 PM Jacek Anaszewski
> <jacek.anaszewski@gmail.com> 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?
Yeah, it is getting big, I'll look into splitting it up.
thanks,
greg k-h
>
> Linus
next prev parent reply other threads:[~2019-09-18 8:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-16 22:21 [GIT PULL] LED updates for 5.4-rc1 Jacek Anaszewski
2019-09-18 1:13 ` Linus Torvalds
2019-09-18 1:14 ` Linus Torvalds
2019-09-18 1:40 ` Linus Torvalds
2019-09-18 7:29 ` Andy Shevchenko
2019-09-18 16:53 ` Linus Torvalds
2019-09-18 17:09 ` Linus Torvalds
2019-09-18 18:51 ` Greg Kroah-Hartman
2019-09-18 7:23 ` Andy Shevchenko
2019-09-18 19:00 ` Jacek Anaszewski
2019-09-18 6:22 ` Greg Kroah-Hartman [this message]
2019-09-18 2:15 ` pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190918062247.GA1855305@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=ada@thorsis.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=bgolaszewski@baylibre.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=dmurphy@ti.com \
--cc=gustavo@embeddedor.com \
--cc=info@metux.net \
--cc=jacek.anaszewski@gmail.com \
--cc=joe@perches.com \
--cc=kw@linux.com \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=nishkadg.linux@gmail.com \
--cc=nstoughton@logitech.com \
--cc=oleg@kaa.org.ua \
--cc=suzuki.poulose@arm.com \
--cc=tony@atomide.com \
--cc=torvalds@linux-foundation.org \
--cc=wenwen@cs.uga.edu \
--cc=wsa+renesas@sang-engineering.com \
--cc=yamada.masahiro@socionext.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox