Re: [PATCH 1/3] backlight: Provide two stage registration

From: Matthew Garrett
Date: Tue Sep 15 2009 - 15:27:42 EST


On Tue, Sep 15, 2009 at 08:18:42PM +0100, Richard Purdie wrote:

> Could we not pass an optional pointer to a properties structure to
> create the backlight with instead or find a better way to solve this?

That'd work, but it'd involve significant refactoring of all the
drivers - we really need to be setting max_brightness before
device_register() is called. I suspect it'd be an even larger delta
against mainline.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/