From nobody Mon May 09 19:22:38 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 482C91AC0BA1; Mon, 9 May 2022 19:22:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KxrfR20SMz3nqf; Mon, 9 May 2022 19:22:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g8CYe/fqj9C/9PL0UBR9kWwWlIqaxD5MXnKs7RIpmFY=; b=MbIziwlDTX4JFp+4seOdEMBe9oaiBqlJfMAUqVmZJwU4Z/Z0ouo/mcX6NXBR8s9E724YUD n+w4H64gJdVEuVfxn97H4XGEnNsDBJy9FRa3cJhEu8al7QkKPKKK/nQdOCQGYt0lfR9Tk4 FrNY8XVM6ufjY+DpybnEjqU09rOS8WJDpbIBPm3UgX14YyuI9iMdIwxqiIcSLrGEFnExHL eDtf+YvQXpPvlrYy+z4GPG6XBzdOfE8AlPZg/Rc5u2v36S4VEms2Dmdk4ox/6V5Wqu2btT 3p36EXXeFRGGVDFUOqyzg2TD22ml/ecPgNJcSTCzOjWQn/FMMEW56AO664x1Bw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 52B3C1701C; Mon, 9 May 2022 19:22:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 249JMcC3085117; Mon, 9 May 2022 19:22:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JMcgc085116; Mon, 9 May 2022 19:22:38 GMT (envelope-from git) Date: Mon, 9 May 2022 19:22:38 GMT Message-Id: <202205091922.249JMcgc085116@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: e8590c970229 - main - Remove unused ofwgpiobus_devclass. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e8590c9702298a402a29fa846fcfdc2ad0b4d735 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g8CYe/fqj9C/9PL0UBR9kWwWlIqaxD5MXnKs7RIpmFY=; b=SbbjdH5NrhOxXnTIskpk/sb2781R6KFpSZsGhkkchjqRaFpmOO0UY6RbamA4G2f+cXf+x3 V6rPSR/jhH/nA4JcWTHm1AX+jOnl+05dQPuHtpKr0khYNjCjO40w8c/cyLg1ULEJMp02kA IXMCp84xSaNRXqo0qO55S/01fy4RAiEBbfL8t+Ts5os6lU7fBziqMGr62NsnpA+UYYgtbv qn/eAjiMZGWOgMFA7i+VKJBiwnWcSiaoDvBy1XBfl+nGFlD2LH5c4jK9zZspycN7lejbgC KuCDAC6TV14SLaUz/7pL6DiBHz4qGD28aX0lNgki/dybUvFnDp/QjmHPDPReSQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124159; a=rsa-sha256; cv=none; b=SGSmR71ClQsWQl7gjqVkj7SWC+DmJIwPhLQSgXXxUu9wZl5N/Bg5/cAr/fiGxLHcuKIary nYTUcEsiN/Z3bLi94+1BQakNT0X7bz0V37943EOepq6K66Y0Ik69t5Ok9shfmgZTNO508R ofeyN+mEHZCK5I2ola8dkXWZtA8tg8fK/EmCd8nvg0hw921GQTX1nsYlSBNyV2IinuhyyQ kgUDonlY/BAZa6Qex/CkA1Dyls03eBJL5GdLQ85ABUyJETJOI5IhoRqu2zB3uAV6CaNJeJ 6VSQm2j6XTYA8jldv/wGUVbd/fhtnJnnZCQWg7SGn0pfQarWFvhS2yMvlHmh0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e8590c9702298a402a29fa846fcfdc2ad0b4d735 commit e8590c9702298a402a29fa846fcfdc2ad0b4d735 Author: John Baldwin AuthorDate: 2022-05-09 19:22:00 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:00 +0000 Remove unused ofwgpiobus_devclass. --- sys/arm/allwinner/axp209.c | 6 +++--- sys/arm/allwinner/axp81x.c | 6 +++--- sys/dev/gpio/ofw_gpiobus.c | 5 +---- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/sys/arm/allwinner/axp209.c b/sys/arm/allwinner/axp209.c index c4d2181e2ec7..de14d324352e 100644 --- a/sys/arm/allwinner/axp209.c +++ b/sys/arm/allwinner/axp209.c @@ -1411,13 +1411,13 @@ static driver_t axp2xx_driver = { }; static devclass_t axp2xx_devclass; -extern devclass_t ofwgpiobus_devclass, gpioc_devclass; +extern devclass_t gpioc_devclass; extern driver_t ofw_gpiobus_driver, gpioc_driver; EARLY_DRIVER_MODULE(axp2xx, iicbus, axp2xx_driver, axp2xx_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE); -EARLY_DRIVER_MODULE(ofw_gpiobus, axp2xx_pmu, ofw_gpiobus_driver, - ofwgpiobus_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE); +EARLY_DRIVER_MODULE(ofw_gpiobus, axp2xx_pmu, ofw_gpiobus_driver, 0, 0, + BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE); DRIVER_MODULE(gpioc, axp2xx_pmu, gpioc_driver, gpioc_devclass, 0, 0); MODULE_VERSION(axp2xx, 1); diff --git a/sys/arm/allwinner/axp81x.c b/sys/arm/allwinner/axp81x.c index 8df781c87a0b..82eb964aeb0a 100644 --- a/sys/arm/allwinner/axp81x.c +++ b/sys/arm/allwinner/axp81x.c @@ -1652,13 +1652,13 @@ static driver_t axp8xx_driver = { }; static devclass_t axp8xx_devclass; -extern devclass_t ofwgpiobus_devclass, gpioc_devclass; +extern devclass_t gpioc_devclass; extern driver_t ofw_gpiobus_driver, gpioc_driver; EARLY_DRIVER_MODULE(axp8xx, iicbus, axp8xx_driver, axp8xx_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST); -EARLY_DRIVER_MODULE(ofw_gpiobus, axp8xx_pmu, ofw_gpiobus_driver, - ofwgpiobus_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST); +EARLY_DRIVER_MODULE(ofw_gpiobus, axp8xx_pmu, ofw_gpiobus_driver, 0, 0, + BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST); DRIVER_MODULE(gpioc, axp8xx_pmu, gpioc_driver, gpioc_devclass, 0, 0); MODULE_VERSION(axp8xx, 1); MODULE_DEPEND(axp8xx, iicbus, 1, 1, 1); diff --git a/sys/dev/gpio/ofw_gpiobus.c b/sys/dev/gpio/ofw_gpiobus.c index 5c11f65baf7f..fb2969a78a87 100644 --- a/sys/dev/gpio/ofw_gpiobus.c +++ b/sys/dev/gpio/ofw_gpiobus.c @@ -507,11 +507,8 @@ static device_method_t ofw_gpiobus_methods[] = { DEVMETHOD_END }; -devclass_t ofwgpiobus_devclass; - DEFINE_CLASS_1(gpiobus, ofw_gpiobus_driver, ofw_gpiobus_methods, sizeof(struct gpiobus_softc), gpiobus_driver); -EARLY_DRIVER_MODULE(ofw_gpiobus, gpio, ofw_gpiobus_driver, ofwgpiobus_devclass, - 0, 0, BUS_PASS_BUS); +EARLY_DRIVER_MODULE(ofw_gpiobus, gpio, ofw_gpiobus_driver, 0, 0, BUS_PASS_BUS); MODULE_VERSION(ofw_gpiobus, 1); MODULE_DEPEND(ofw_gpiobus, gpiobus, 1, 1, 1);