Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/dev/i2c Pull up following revision(s) (requested by m...
details: https://anonhg.NetBSD.org/src/rev/c8b9624d6357
branches: netbsd-8
changeset: 1026772:c8b9624d6357
user: martin <martin%NetBSD.org@localhost>
date: Mon Dec 06 19:34:29 2021 +0000
description:
Pull up following revision(s) (requested by msaitoh in ticket #1716):
sys/dev/i2c/sdtemp.c: revision 1.41
Use aprint_debug instead of aprint_error for expected failure.
diffstat:
sys/dev/i2c/sdtemp.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (40 lines):
diff -r ac1ba71a2cf8 -r c8b9624d6357 sys/dev/i2c/sdtemp.c
--- a/sys/dev/i2c/sdtemp.c Fri Dec 03 19:55:03 2021 +0000
+++ b/sys/dev/i2c/sdtemp.c Mon Dec 06 19:34:29 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sdtemp.c,v 1.32.8.2 2020/07/20 19:00:40 martin Exp $ */
+/* $NetBSD: sdtemp.c,v 1.32.8.3 2021/12/06 19:34:29 martin Exp $ */
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdtemp.c,v 1.32.8.2 2020/07/20 19:00:40 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdtemp.c,v 1.32.8.3 2021/12/06 19:34:29 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -696,8 +696,8 @@
if (rv == 0)
sc->sc_resolution = SDTEMP_CAP_RESOLUTION_MAX;
else
- aprint_error("%s: error %d writing resolution register\n",
- device_xname(sc->sc_dev), rv);
+ aprint_debug_dev(sc->sc_dev,
+ "error %d writing resolution register\n", rv);
}
static void
@@ -716,8 +716,8 @@
if (rv == 0)
sc->sc_resolution = SDTEMP_CAP_RESOLUTION_MAX;
else
- aprint_error("%s: error %d writing resolution register\n",
- device_xname(sc->sc_dev), rv);
+ aprint_debug_dev(sc->sc_dev,
+ "error %d writing resolution register\n", rv);
}
MODULE(MODULE_CLASS_DRIVER, sdtemp, "i2cexec,sysmon_envsys");
Home |
Main Index |
Thread Index |
Old Index