Module Name: src
Committed By: christos
Date: Mon Feb 6 02:03:32 UTC 2012
Modified Files:
src/sys/dev/ic: tpm.c
Log Message:
PR/45932: Pierre Pronchery: Fix the return values of the suspend and resume
functions.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/ic/tpm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/tpm.c
diff -u src/sys/dev/ic/tpm.c:1.6 src/sys/dev/ic/tpm.c:1.7
--- src/sys/dev/ic/tpm.c:1.6 Fri Feb 3 10:42:46 2012
+++ src/sys/dev/ic/tpm.c Sun Feb 5 21:03:32 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: tpm.c,v 1.6 2012/02/03 15:42:46 christos Exp $ */
+/* $NetBSD: tpm.c,v 1.7 2012/02/06 02:03:32 christos Exp $ */
/*
* Copyright (c) 2008, 2009 Michael Shalayeff
* Copyright (c) 2009, 2010 Hans-J�rg H�xer
@@ -18,7 +18,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tpm.c,v 1.6 2012/02/03 15:42:46 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tpm.c,v 1.7 2012/02/06 02:03:32 christos Exp $");
#if 0
#define TPM_DEBUG
@@ -333,7 +333,7 @@ tpm_suspend(device_t dev, const pmf_qual
#ifdef TPM_DEBUG
aprint_debug_dev(sc->sc_dev, "%s: power down\n", __func__);
#endif
- return 0;
+ return true;
}
/*
@@ -347,7 +347,7 @@ tpm_resume(device_t dev, const pmf_qual_
struct tpm_softc *sc = device_private(dev);
aprint_debug_dev(sc->sc_dev, "%s: resume\n", __func__);
#endif
- return 0;
+ return true;
}
/* Wait for given status bits using polling. */