Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic PR/45932: Pierre Pronchery: Fix the return values...
details: https://anonhg.NetBSD.org/src/rev/2524709f7c70
branches: trunk
changeset: 773558:2524709f7c70
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 06 02:03:32 2012 +0000
description:
PR/45932: Pierre Pronchery: Fix the return values of the suspend and resume
functions.
diffstat:
sys/dev/ic/tpm.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 9cc6c9575d5c -r 2524709f7c70 sys/dev/ic/tpm.c
--- a/sys/dev/ic/tpm.c Mon Feb 06 00:41:36 2012 +0000
+++ b/sys/dev/ic/tpm.c Mon Feb 06 02:03:32 2012 +0000
@@ -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 @@
#ifdef TPM_DEBUG
aprint_debug_dev(sc->sc_dev, "%s: power down\n", __func__);
#endif
- return 0;
+ return true;
}
/*
@@ -347,7 +347,7 @@
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. */
Home |
Main Index |
Thread Index |
Old Index