Re: [PATCH] backlight: Convert from struct class_device to struct device
- From: Greg KH <greg@xxxxxxxxx>
- Date: Mon, 9 Jul 2007 17:09:25 -0700
On Mon, Jul 09, 2007 at 12:40:04PM +0100, Richard Purdie wrote:
Convert the backlight and LCD classes from struct class_device to struct
device since class_device is scheduled for removal.
One nasty API break is the backlight power attribute has had to be
renamed to bl_power and the LCD power attribute has had to be renamed to
lcd_power since the original names clash with the core. I can't see a
way around this.
Signed-off-by: Richard Purdie <rpurdie@xxxxxxxxx>
[I've applied this patch to the backlight for-mm branch for testing but
will work in any feedback]
Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH] backlight: Convert from struct class_device to struct device
- From: Richard Purdie
- [PATCH] backlight: Convert from struct class_device to struct device
- Prev by Date: Re: [PATCH] leds: Convert from struct class_device to struct device
- Next by Date: [PATCH] do not limit locked memory when RLIMIT_MEMLOCK is RLIM_INFINITY
- Previous by thread: [PATCH] backlight: Convert from struct class_device to struct device
- Next by thread: [PATCH 00/13] IB/ehca: eHCA2 enablement & some fixes
- Index(es):