svn commit: r350053 - stable/11/sys/dev/gpio
Li-Wen Hsu
lwhsu at FreeBSD.org
Tue Jul 16 16:26:52 UTC 2019
Author: lwhsu
Date: Tue Jul 16 16:26:51 2019
New Revision: 350053
URL: https://svnweb.freebsd.org/changeset/base/350053
Log:
MFC r349472:
Follow r349460 to complete removing "flags" in struct gpiobus_ivar
Sponsored by: The FreeBSD Foundation
Modified:
stable/11/sys/dev/gpio/ofw_gpiobus.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/gpio/ofw_gpiobus.c
==============================================================================
--- stable/11/sys/dev/gpio/ofw_gpiobus.c Tue Jul 16 16:25:27 2019 (r350052)
+++ stable/11/sys/dev/gpio/ofw_gpiobus.c Tue Jul 16 16:26:51 2019 (r350053)
@@ -317,10 +317,8 @@ ofw_gpiobus_setup_devinfo(device_t bus, device_t child
ofw_gpiobus_destroy_devinfo(bus, dinfo);
return (NULL);
}
- for (i = 0; i < devi->npins; i++) {
- devi->flags[i] = pins[i].flags;
+ for (i = 0; i < devi->npins; i++)
devi->pins[i] = pins[i].pin;
- }
free(pins, M_DEVBUF);
/* Parse the interrupt resources. */
if (ofw_bus_intr_to_rl(bus, node, &dinfo->opd_dinfo.rl, NULL) != 0) {
More information about the svn-src-all
mailing list