Re: [PATCH][1/2] led: add Cobalt Raq LEDs support

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yoichi Yuasa <yoichi_yuasa@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>
Date: Thursday, September 13, 2007 - 5:32 pm

On Thu, 2007-09-13 at 23:54 +0900, Yoichi Yuasa wrote:

Not the clearest patch I've ever seen or the most helpful patch
description. The rename could probably be split from the additional new
driver at least...

[...]

The _irq spinlock variants are not safe there or in the other brightness
set function...

+static struct led_classdev raq_web_led = {
[...]

Do these really need "led" in the name?

What does a power-off trigger do with an LED out of interest?


You want to unregister, then iounmap...


No module_exit in one driver for any particular reason?

Some of these comments also apply to you second patch. All minor tweaks
really though :).

Cheers,

Richard

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH][1/2] led: add Cobalt Raq LEDs support, Yoichi Yuasa, (Thu Sep 13, 10:54 am)
Re: [PATCH][1/2] led: add Cobalt Raq LEDs support, Richard Purdie, (Thu Sep 13, 5:32 pm)
Re: [PATCH][1/2] led: add Cobalt Raq LEDs support, Yoichi Yuasa, (Thu Sep 13, 8:53 pm)
[PATCH][2/2] led: update Cobalt Qube LED support, Yoichi Yuasa, (Thu Sep 13, 10:56 am)