Date: Tue, 16 Jul 2019 16:26:51 +0000 (UTC) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r350053 - stable/11/sys/dev/gpio Message-ID: <201907161626.x6GGQplf033929@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907161626.x6GGQplf033929>