power management routines for NAND driver
Thomas Gleixner
tglx at linutronix.de
Thu Aug 11 16:31:47 EDT 2005
On Thu, 2005-08-11 at 13:23 -0700, Todd Poynor wrote:
> Yes, the pm_send etc. APM-style calls are deprecated. The Linux Driver
> Model PM hooks (incl. struct device_driver suspend/resume callbacks) are
> the way to do it now. I floated a patch for another board in thread
> "MTD PM Resume" in July that does approximately what you're talking
> about, although calling existing Intel/Sharp CFI NOR flash routines. If
> there's no objections to that style of PM support then I'll check it in.
I removed the pm_oldstyle stuff in mtdcore.c anyway.
Look at the SA1100 driver as reference. Thats the way to go.
tglx
More information about the linux-mtd
mailing list