git: 950143eccf46 - main - chromebook_platform: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:22:41 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=950143eccf467f15ccea27bfaece75d7e4797d38
commit 950143eccf467f15ccea27bfaece75d7e4797d38
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 19:22:01 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 19:22:01 +0000
chromebook_platform: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/chromebook_platform/chromebook_platform.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/sys/dev/chromebook_platform/chromebook_platform.c b/sys/dev/chromebook_platform/chromebook_platform.c
index 5cfeb9cb1e4e..9ca9a41ff1b9 100644
--- a/sys/dev/chromebook_platform/chromebook_platform.c
+++ b/sys/dev/chromebook_platform/chromebook_platform.c
@@ -94,9 +94,6 @@ static driver_t chromebook_i2c_driver = {
0 /* no softc */
};
-static devclass_t chromebook_i2c_devclass;
-
-DRIVER_MODULE(chromebook_i2c, iicbus, chromebook_i2c_driver,
- chromebook_i2c_devclass, 0, 0);
+DRIVER_MODULE(chromebook_i2c, iicbus, chromebook_i2c_driver, 0, 0);
MODULE_VERSION(chromebook_i2c, 1);