Re: [patch 1/3] acpi: dock driver

From: Patrick Mochel
Date: Wed Apr 19 2006 - 14:24:44 EST


On Wed, Apr 19, 2006 at 11:28:42AM -0700, Kristen Accardi wrote:

> Well, I will certainly change the dock code, but pulling this stuff out
> of the hotplug drivers will take longer since it would require changing
> the offending acpi interfaces.

If you ever decide to do this, you can make it much easier on yourself
by doing a "bait and switch": create a new function that wraps the
currently exported one and exposes a clean, sane interface. Then,
convert the users to call this new function. When they're all converted,
un-export the old one, then take it out back and do away with it. This
allows a step-by-step conversion without having to coordinate a big
"flag day" cutover..


Pat
-
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/