mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marek Behun <marek.behun@nic.cz>
To: Antoni Przybylik <antoni.przybylik@wp.pl>
Cc: pavel@ucw.cz, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Leds: made enum led_brightness into typedef
Date: Wed, 3 Mar 2021 05:32:14 +0100	[thread overview]
Message-ID: <20210303053214.7a3fbaeb@nic.cz> (raw)
In-Reply-To: <20210302230459.523410-1-antoni.przybylik@wp.pl>

This patch touches only code in drivers/leds and include/linux/leds.h.

Meanwhile enum led_brightness is used in many other parts of kernel as
well, just try
  git grep "enum led_brightness"

Also changing it probably to a simple int would be better. But if we
wanted a typedef anyway, it should be called led_brightness_t.

Marek

  reply	other threads:[~2021-03-03 11:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-02 23:04 Antoni Przybylik
2021-03-03  4:32 ` Marek Behun [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-02 18:11 Antoni Przybylik

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=20210303053214.7a3fbaeb@nic.cz \
    --to=marek.behun@nic.cz \
    --cc=antoni.przybylik@wp.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /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

all inboxes | Powered by JetHome®