Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/i2c I was a little over-zealous with the includes. ...



details:   https://anonhg.NetBSD.org/src/rev/b48022466d04
branches:  trunk
changeset: 842765:b48022466d04
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jul 24 05:47:39 2019 +0000

description:
I was a little over-zealous with the includes.  Tone it down just
a wee bit.

diffstat:

 sys/dev/i2c/pca9685.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (29 lines):

diff -r 3a7358481051 -r b48022466d04 sys/dev/i2c/pca9685.c
--- a/sys/dev/i2c/pca9685.c     Wed Jul 24 05:45:42 2019 +0000
+++ b/sys/dev/i2c/pca9685.c     Wed Jul 24 05:47:39 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pca9685.c,v 1.1 2019/07/24 05:25:32 thorpej Exp $ */
+/* $NetBSD: pca9685.c,v 1.2 2019/07/24 05:47:39 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2018, 2019 Jason R. Thorpe
@@ -27,18 +27,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pca9685.c,v 1.1 2019/07/24 05:25:32 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pca9685.c,v 1.2 2019/07/24 05:47:39 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
-#include <sys/conf.h>
-#include <sys/bus.h>
 #include <sys/kernel.h>
-#include <sys/kmem.h>
 #include <sys/mutex.h>
-#include <sys/proc.h>
-#include <sys/sysctl.h>
 
 #include <dev/i2c/i2cvar.h>
 #include <dev/i2c/pca9685reg.h>



Home | Main Index | Thread Index | Old Index