diff options
author | Paul Menzel <pmenzel@molgen.mpg.de> | 2020-10-03 08:57:57 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2020-10-13 17:16:19 +0000 |
commit | f710bf65dcd824854a5d0c2020ebd636dd08a861 (patch) | |
tree | ae0a454799934eac7b7414ed27b47c04f3a887da /src/device/device.c | |
parent | a2118c7b54f310ab25f44bf4682a01b15c955151 (diff) |
superio/nuvoton/common: Collapse two if statements
There are more devices requiring this code, so avoid duplicating the if
block over and over.
Change-Id: Ib4f787e3c883b1fec941de77bc8e19ccf0d5224c
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45970
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device/device.c')
0 files changed, 0 insertions, 0 deletions