Date: Mon, 9 May 2022 19:22:41 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 950143eccf46 - main - chromebook_platform: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205091922.249JMfrw085194@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205091922.249JMfrw085194>