Re: pm_register should die

Pavel Machek
2005-09-12T09:53:48Z

Hi!

> > +#ifdef CONFIG_OLD_PM
> > if (pm_send_all(PM_SUSPEND, (void *)3)) {
>
> Can we not do this without ifdefs?
>
> #define pm_send_all(foo, bar) 0

Okay, we probably can, but the ifdefs make very nice/easy markers
"this is going away". I'd prefer to actually delete all the code
inside those ifdefs...

I agree this patch can be improved... I hope I can get people to fix
those 13 occurences and be able to just drop everything in #ifdef
_OLD_PM.