Date: Mon, 9 May 2022 19:22:57 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: a4f3b83b93c1 - main - isl: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205091922.249JMvLi085544@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=a4f3b83b93c1863b7661b0094727ca18e7fe223f commit a4f3b83b93c1863b7661b0094727ca18e7fe223f Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:02 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:02 +0000 isl: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/isl/isl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/isl/isl.c b/sys/dev/isl/isl.c index 9203cf090917..d8ce370e294f 100644 --- a/sys/dev/isl/isl.c +++ b/sys/dev/isl/isl.c @@ -131,8 +131,6 @@ static int isl_detach(device_t); static int isl_sysctl(SYSCTL_HANDLER_ARGS); -static devclass_t isl_devclass; - static device_method_t isl_methods[] = { /* device interface */ DEVMETHOD(device_probe, isl_probe), @@ -339,6 +337,6 @@ isl_read_sensor(device_t dev, uint8_t cmd_mask) return (ret); } -DRIVER_MODULE(isl, iicbus, isl_driver, isl_devclass, NULL, NULL); +DRIVER_MODULE(isl, iicbus, isl_driver, NULL, NULL); MODULE_DEPEND(isl, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER); MODULE_VERSION(isl, 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205091922.249JMvLi085544>