From: Richard Purdie <rpurdie@rpsys.net>
To: Thomas Tuttle <thinkinginbinary@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] Integrate asus_acpi LED's with new LED subsystem
Date: Fri, 07 Jul 2006 09:46:48 +0100 [thread overview]
Message-ID: <1152262009.5548.41.camel@localhost.localdomain> (raw)
In-Reply-To: <20060707012025.GB8900@phoenix>
On Thu, 2006-07-06 at 21:20 -0400, Thomas Tuttle wrote:
> +/* These functions are called by the LED subsystem to update the desired
> + * state of the LED's. */
> +static void led_set_mled(struct led_classdev *led_cdev,
> + enum led_brightness value);
> +static void led_set_wled(struct led_classdev *led_cdev,
> + enum led_brightness value);
> +static void led_set_tled(struct led_classdev *led_cdev,
> + enum led_brightness value);
I don't think you need these anymore.
> +#else
> +
> +static inline int led_initialize(struct device *parent)
> +{
> +}
> +
This turns the code into a game of Russian roulette when
CONFIG_ACPI_ASUS_NEW_LED isn't set (think return values). I'm sure
Andrew was just testing with that ;-)
If you fix these issues, you can add an
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Richard
next prev parent reply other threads:[~2006-07-07 8:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-06 19:31 [PATCH] Integrate asus_acpi LED's with new LED subsystem Thomas Tuttle
2006-07-06 22:39 ` Richard Purdie
2006-07-07 1:11 ` Thomas Tuttle
2006-07-06 22:49 ` Andrew Morton
2006-07-07 1:20 ` Thomas Tuttle
2006-07-07 8:46 ` Richard Purdie [this message]
2006-07-24 21:24 ` Johannes Engel
2006-07-06 23:50 ` Pavel Machek
2006-07-07 1:44 ` Thomas Tuttle
2006-07-07 9:38 ` Pavel Machek
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=1152262009.5548.41.camel@localhost.localdomain \
--to=rpurdie@rpsys.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=thinkinginbinary@gmail.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;
as well as URLs for NNTP newsgroup(s).