Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/fdt API naming consistency. NFC.
details: https://anonhg.NetBSD.org/src/rev/9a2bb846a563
branches: trunk
changeset: 361998:9a2bb846a563
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Feb 23 07:55:55 2022 +0000
description:
API naming consistency. NFC.
diffstat:
sys/arch/arm/nvidia/tegra_drm.c | 6 +++---
sys/dev/fdt/fdt_i2c.c | 8 ++++----
sys/dev/fdt/fdtvar.h | 4 ++--
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r 00ddeec0b73f -r 9a2bb846a563 sys/arch/arm/nvidia/tegra_drm.c
--- a/sys/arch/arm/nvidia/tegra_drm.c Wed Feb 23 00:06:49 2022 +0000
+++ b/sys/arch/arm/nvidia/tegra_drm.c Wed Feb 23 07:55:55 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_drm.c,v 1.14 2021/12/19 12:44:50 riastradh Exp $ */
+/* $NetBSD: tegra_drm.c,v 1.15 2022/02/23 07:55:56 skrll Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_drm.c,v 1.14 2021/12/19 12:44:50 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_drm.c,v 1.15 2022/02/23 07:55:56 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -170,7 +170,7 @@
ddc_phandle = fdtbus_get_phandle(hdmi_phandle,
"nvidia,ddc-i2c-bus");
if (ddc_phandle >= 0) {
- sc->sc_ddc = fdtbus_get_i2c_tag(ddc_phandle);
+ sc->sc_ddc = fdtbus_i2c_get_tag(ddc_phandle);
}
sc->sc_pin_hpd = fdtbus_gpio_acquire(hdmi_phandle,
diff -r 00ddeec0b73f -r 9a2bb846a563 sys/dev/fdt/fdt_i2c.c
--- a/sys/dev/fdt/fdt_i2c.c Wed Feb 23 00:06:49 2022 +0000
+++ b/sys/dev/fdt/fdt_i2c.c Wed Feb 23 07:55:55 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_i2c.c,v 1.11 2021/08/07 16:19:10 thorpej Exp $ */
+/* $NetBSD: fdt_i2c.c,v 1.12 2022/02/23 07:55:55 skrll Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdt_i2c.c,v 1.11 2021/08/07 16:19:10 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdt_i2c.c,v 1.12 2022/02/23 07:55:55 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -75,7 +75,7 @@
}
i2c_tag_t
-fdtbus_get_i2c_tag(int phandle)
+fdtbus_i2c_get_tag(int phandle)
{
struct fdtbus_i2c_controller *i2c;
@@ -95,7 +95,7 @@
if (i2c_phandle == -1)
return NULL;
- return fdtbus_get_i2c_tag(i2c_phandle);
+ return fdtbus_i2c_get_tag(i2c_phandle);
}
device_t
diff -r 00ddeec0b73f -r 9a2bb846a563 sys/dev/fdt/fdtvar.h
--- a/sys/dev/fdt/fdtvar.h Wed Feb 23 00:06:49 2022 +0000
+++ b/sys/dev/fdt/fdtvar.h Wed Feb 23 07:55:55 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdtvar.h,v 1.74 2022/01/14 07:40:52 skrll Exp $ */
+/* $NetBSD: fdtvar.h,v 1.75 2022/02/23 07:55:55 skrll Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -322,7 +322,7 @@
int, struct fdt_phandle_data *);
int fdtbus_get_phandle_from_native(int);
-i2c_tag_t fdtbus_get_i2c_tag(int);
+i2c_tag_t fdtbus_i2c_get_tag(int);
i2c_tag_t fdtbus_i2c_acquire(int, const char *);
void * fdtbus_intr_establish(int, u_int, int, int,
Home |
Main Index |
Thread Index |
Old Index