util/sconfig: Get rid of nextdev member in struct device
commitb72ab9e4d7af47749e4f9c27074e782d934848d9
authorFurquan Shaikh <furquan@google.com>
Thu, 31 May 2018 18:03:17 +0000 (31 11:03 -0700)
committerFurquan Shaikh <furquan@google.com>
Tue, 5 Jun 2018 20:58:16 +0000 (5 20:58 +0000)
treeb1f2b91f4b1d3e0c3687796a701e4ef1d26254e6
parentc56ae2ffa16fe0590af015add99354cf34f68a9b
util/sconfig: Get rid of nextdev member in struct device

Now that chips and devices are treated differently and the device tree
actually contains only devices, next and nextdev are exactly the same
for all devices in the tree. This change gets rid of nextdev pointer
and updates all uses of nextdev to next.

BUG=b:80081934
TEST=Verified that static.c generated for all boards built by abuild
is same with and without this change.

Change-Id: Ie50b3d769a78fe0beddba2e5551441b43cb212a2
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/26741
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
util/sconfig/main.c
util/sconfig/sconfig.h