Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/macppc/dev remove some leftover references to ki2c ...
details: https://anonhg.NetBSD.org/src/rev/37044d8d9c09
branches: trunk
changeset: 829412:37044d8d9c09
user: macallan <macallan%NetBSD.org@localhost>
date: Mon Jan 29 19:33:39 2018 +0000
description:
remove some leftover references to ki2c in comments
no functional change
diffstat:
sys/arch/macppc/dev/snapper.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (44 lines):
diff -r 9e6b04b0e70c -r 37044d8d9c09 sys/arch/macppc/dev/snapper.c
--- a/sys/arch/macppc/dev/snapper.c Mon Jan 29 16:24:23 2018 +0000
+++ b/sys/arch/macppc/dev/snapper.c Mon Jan 29 19:33:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: snapper.c,v 1.42 2018/01/27 16:21:47 sevan Exp $ */
+/* $NetBSD: snapper.c,v 1.43 2018/01/29 19:33:39 macallan Exp $ */
/* Id: snapper.c,v 1.11 2002/10/31 17:42:13 tsubai Exp */
/* Id: i2s.c,v 1.12 2005/01/15 14:32:35 tsubai Exp */
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: snapper.c,v 1.42 2018/01/27 16:21:47 sevan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: snapper.c,v 1.43 2018/01/29 19:33:39 macallan Exp $");
#include <sys/param.h>
#include <sys/audioio.h>
@@ -839,7 +839,6 @@
break;
}
- /* ki2c_setmode(sc->sc_i2c, I2C_STDSUBMODE); */
snapper_init(sc, sc->sc_node);
audio_attach_mi(&snapper_hw_if, sc, sc->sc_dev);
@@ -1890,7 +1889,7 @@
iic_exec(sc->sc_i2c, I2C_OP_WRITE, sc->sc_deqaddr, regblock, size + 1,
NULL, 0, 0);
iic_release_bus(sc->sc_i2c, 0);
-
+
return 0;
}
@@ -2126,8 +2125,6 @@
__asm volatile ("eieio");
}
- /* i2c_set_port(port); */
-
if (tas3004_init(sc))
return;
Home |
Main Index |
Thread Index |
Old Index