Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/pci drm_dev_unref -> drm_dev_put



details:   https://anonhg.NetBSD.org/src/rev/18895e69023e
branches:  trunk
changeset: 1028219:18895e69023e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:51:12 2021 +0000

description:
drm_dev_unref -> drm_dev_put


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/pci/drm_pci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 24042cdb6b85 -r 18895e69023e sys/external/bsd/drm2/pci/drm_pci.c
--- a/sys/external/bsd/drm2/pci/drm_pci.c       Sun Dec 19 09:51:04 2021 +0000
+++ b/sys/external/bsd/drm2/pci/drm_pci.c       Sun Dec 19 09:51:12 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_pci.c,v 1.37 2021/12/19 09:51:04 riastradh Exp $   */
+/*     $NetBSD: drm_pci.c,v 1.38 2021/12/19 09:51:12 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_pci.c,v 1.37 2021/12/19 09:51:04 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_pci.c,v 1.38 2021/12/19 09:51:12 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/errno.h>
@@ -153,7 +153,7 @@
        if (dev->dmat_subregion_p) {
                bus_dmatag_destroy(dev->dmat);
        }
-       drm_dev_unref(dev);
+       drm_dev_put(dev);
 fail0: return ret;
 }
 
@@ -176,7 +176,7 @@
                bus_dmatag_destroy(dev->dmat);
        }
 
-       drm_dev_unref(dev);
+       drm_dev_put(dev);
 
        return 0;
 }



Home | Main Index | Thread Index | Old Index