git: 5823a09f7949 - main - cavium/thunder: Use device_set_desc()

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Sun, 16 Jun 2024 20:37:46 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=5823a09f79499d426f9f57131be756ddc9be3ff9

commit 5823a09f79499d426f9f57131be756ddc9be3ff9
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-06-05 14:14:00 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-06-16 20:37:25 +0000

    cavium/thunder: Use device_set_desc()
    
    No functional change intended.
    
    MFC after:      1 week
---
 sys/arm64/cavium/thunder_pcie_pem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm64/cavium/thunder_pcie_pem.c b/sys/arm64/cavium/thunder_pcie_pem.c
index dd6ef14f1a6e..a27ed810c618 100644
--- a/sys/arm64/cavium/thunder_pcie_pem.c
+++ b/sys/arm64/cavium/thunder_pcie_pem.c
@@ -766,7 +766,7 @@ thunder_pem_probe(device_t dev)
 
 	if ((pci_vendor_id == THUNDER_PEM_VENDOR_ID) &&
 	    (pci_device_id == THUNDER_PEM_DEVICE_ID)) {
-		device_set_desc_copy(dev, THUNDER_PEM_DESC);
+		device_set_desc(dev, THUNDER_PEM_DESC);
 		return (0);
 	}