pnp_device: improve readability
commit745e58a5ee50373276924349524a2594599e8bb5
authorFelix Held <felix-coreboot@felixheld.de>
Fri, 6 Jul 2018 17:38:24 +0000 (6 19:38 +0200)
committerMartin Roth <martinroth@google.com>
Tue, 17 Jul 2018 18:06:19 +0000 (17 18:06 +0000)
treed94136e670d162e703c8ee720924ef1462ad3e20
parentf17a0df112ec3351a9ea344408a39dc895bf1788
pnp_device: improve readability

Add comments on the ops handling in pnp_enable_devices function and the
pnp_info struct.

Also remove the negation in the check if an LDN-specific override is used.
This patch doesn't change the logic though.

Change-Id: I3e80dbce1f29ee3e95e3b1d71c9b8479561d5c1a
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/27384
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
src/device/pnp_device.c
src/include/device/pnp.h