svn commit: r350051 - stable/12/sys/dev/gpio
Li-Wen Hsu
lwhsu at FreeBSD.org
Tue Jul 16 16:23:57 UTC 2019
Author: lwhsu
Date: Tue Jul 16 16:23:56 2019
New Revision: 350051
URL: https://svnweb.freebsd.org/changeset/base/350051
Log:
MFC r349472:
Follow r349460 to complete removing "flags" in struct gpiobus_ivar
Sponsored by: The FreeBSD Foundation
Modified:
stable/12/sys/dev/gpio/ofw_gpiobus.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/dev/gpio/ofw_gpiobus.c
==============================================================================
--- stable/12/sys/dev/gpio/ofw_gpiobus.c Tue Jul 16 16:05:42 2019 (r350050)
+++ stable/12/sys/dev/gpio/ofw_gpiobus.c Tue Jul 16 16:23:56 2019 (r350051)
@@ -321,10 +321,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