]> err.no Git - linux-2.6/commit
abituguru: Add suspend/resume support
authorHans de Goede <j.w.r.degoede@hhs.nl>
Mon, 28 Aug 2006 12:42:24 +0000 (14:42 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:31:14 +0000 (15:31 -0700)
commit360b9ab220aedaf346380fc2344729d9acc3b075
treead843d0f33fe396c6d0ae22e93b151a5386de40c
parentb17ebc9402040959690b5a2c4e1cfb1e6d4fb206
abituguru: Add suspend/resume support

This patch contains rudimentary suspend / resume support for the uguru,
this protects the uguru and the driver against suspend / resume cycles,
so there is no reason to unload the driver in your suspend / resume
scripts.

Only include suspend / resume functions when CONFIG_PM is set.

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/abituguru.c