pcmcia: stop updating dev->power.power_state
authorDavid Brownell <david-b@pacbell.net>
Tue, 5 Feb 2008 06:27:37 +0000 (22:27 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:08 +0000 (09:44 -0800)
commitd6b4fa6d698f5cf331ead08db4ba5e60cd3c83be
tree5db5d6d7c60ba1b6712581a4d99a8a54bdeee739
parent906da809c5be30b4c7f32bb6a489fb25ad794878
pcmcia: stop updating dev->power.power_state

This stops the pcmcia core from using dev->power.power_state; that field is
deprecated (overdue for removal) and the only reason to update it was to make
the /sys/devices/.../power/state files (now removed) work better.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pcmcia/ds.c