Re: [patch 2.6.10-rc1-bk] shrink struct device a bit

From: Greg KH
Date: Fri Nov 12 2004 - 16:40:59 EST


On Sun, Nov 07, 2004 at 06:52:05PM -0700, David Brownell wrote:
> On Sunday 07 November 2004 02:54, Russell King wrote:
> > I think sparse will complain at being given '0' instead of 'NULL' for
> > pointers. Please use NULL instead.
>
> Attached.
>
> - Dave
>
> p.s. The SA-1111 + PXA build combo was broken (as on "Lubbock"),
> as you likely know if you're removing broken machine configs!

> This patch removes two fields from "struct device" that are duplicated
> in "struct dev_pm_info": power_state (which should probably vanish)
> and "saved_state". There were only two "real" uses of saved_state;
> both are now switched over to use dev_pm_info.

Applied, thanks.

Oh, I also fixed up the video drivers that were also using this field.

greg k-h
-
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/