From nobody Sun Dec 1 04:58:10 2024 X-Original-To: dev-commits-src-branches@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 4Y1F6V4mPmz5gDMH; Sun, 01 Dec 2024 04:58:10 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y1F6V2Pdlz4D8v; Sun, 1 Dec 2024 04:58:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733029090; 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=r7mcMK8B39F6dxk9/0FNVfx3xJ7D4TdnAY0aaY9SeMs=; b=LwGmXmzNrnoUHarHV71fiRnMdsV29sfOZMwcyLH4pyN2wP1nJv7gA6UKEKnhRLnWr5X0cb eKFVpR4rMLMhBn//PmlL8GbnDMcbBONH3ATP+eCQUW6LcW8cHT1Ifm4BGv54OsmqX8OWWI rHeAyJZF33AF0aS9OaXoVe+vp/PnSxU3fnjueRjD4fNHwnJ++j5qacoi4Gylw7iAWrJoBU Eiwes6VxQAkUJA/T0BE/whzjxWDNAPCUUWmd+yNmVGZorJ+3B3yOgJumqyUhuzIYX617i6 YqVDcUNtWkMj2qS+u1ddmZaWcjMCSqEA9toRfkL9kIQlP/6mlqeM6mlUqWj3Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733029090; 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=r7mcMK8B39F6dxk9/0FNVfx3xJ7D4TdnAY0aaY9SeMs=; b=UJWNl0oiubmYvq1B6llx80B54s0j1iepQjM9HpRRfJgvkRFi0r+au1rPpl3N9wDF0bbV9m zi0WM1oD6M12jpWyl1o8v2Yia6xIoviDgH+1ybK6HcbdeQBODpimdZxwU+nW3v9D+Nv+GA +X7PV0plrhbEKfUb0QNqBvoCt+sWCJDh4Rgvz3BjiK5D0xCol8lCa/aPOHsyCpHnEgqGO9 s40MGlaanmcLczyo8wco6lfqnEoff/DgNTtZVVJD/tH0glFw+TwGqFi/WDcViPmbGx5QoI cUjzaQzcwaZALUB7tdsT9yzsqdU/dHk3+HDVV9niBAOYPjaArSh1pwZePbTYrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733029090; a=rsa-sha256; cv=none; b=UUFtbHVvUthgBaD2bOYzw875KWW1B1TnTqccYN1iZOlT9gjr26jT4dIAMljveAewH0V52a w6jqoWrC5FZPhUHNdd+uoRgCnumx0t8ZQGsUzv+nPFAB2V77kf7HMbFKdyBIuoqLHFezkB CjxV5+LK2iPFPivkUf2IQFT2VGKUMkZkWvxLngxGr0gf1tPaeacqb3ooMELvpJojZ/GK9l 7Vuhwbzowpd4lNxqISr3/gMVfX/aSqwH19pea4mf3b787PYySwe4mWYSgq9yH2EW4p+283 q+QtQBmx2mb5D7YmbG2IyGs4i4kKDp1Zzm9F/rkff1aBj6V5z+L3BJxyaqBK4g== 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 4Y1F6V224hzfNl; Sun, 1 Dec 2024 04:58:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B14wACB098099; Sun, 1 Dec 2024 04:58:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B14wAn0098096; Sun, 1 Dec 2024 04:58:10 GMT (envelope-from git) Date: Sun, 1 Dec 2024 04:58:10 GMT Message-Id: <202412010458.4B14wAn0098096@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 6fa094ed183c - stable/13 - vga_pci: Use bus_generic_* directly instead of wrappers List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 6fa094ed183c0e4ff91c7fc4ed56b0f38bc15534 Auto-Submitted: auto-generated The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=6fa094ed183c0e4ff91c7fc4ed56b0f38bc15534 commit 6fa094ed183c0e4ff91c7fc4ed56b0f38bc15534 Author: John Baldwin AuthorDate: 2024-11-19 15:26:32 +0000 Commit: John Baldwin CommitDate: 2024-11-30 21:51:08 +0000 vga_pci: Use bus_generic_* directly instead of wrappers Differential Revision: https://reviews.freebsd.org/D47375 (cherry picked from commit c7d29adcb3ce6544eb30c6b5489999d8f001cb71) --- sys/dev/pci/vga_pci.c | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/sys/dev/pci/vga_pci.c b/sys/dev/pci/vga_pci.c index f1f645840cae..671bc94a1118 100644 --- a/sys/dev/pci/vga_pci.c +++ b/sys/dev/pci/vga_pci.c @@ -382,13 +382,6 @@ vga_pci_attach(device_t dev) return (0); } -static int -vga_pci_suspend(device_t dev) -{ - - return (bus_generic_suspend(dev)); -} - static int vga_pci_detach(device_t dev) { @@ -400,13 +393,6 @@ vga_pci_detach(device_t dev) return (error); } -static int -vga_pci_resume(device_t dev) -{ - - return (bus_generic_resume(dev)); -} - /* Bus interface. */ static int @@ -737,9 +723,9 @@ static device_method_t vga_pci_methods[] = { DEVMETHOD(device_probe, vga_pci_probe), DEVMETHOD(device_attach, vga_pci_attach), DEVMETHOD(device_shutdown, bus_generic_shutdown), - DEVMETHOD(device_suspend, vga_pci_suspend), + DEVMETHOD(device_suspend, bus_generic_suspend), DEVMETHOD(device_detach, vga_pci_detach), - DEVMETHOD(device_resume, vga_pci_resume), + DEVMETHOD(device_resume, bus_generic_resume), /* Bus interface */ DEVMETHOD(bus_read_ivar, vga_pci_read_ivar),