Fix setting the voltage; the code was using the wrong variable as a step size.
authorkettenis <kettenis@openbsd.org>
Tue, 31 Jul 2018 10:07:13 +0000 (10:07 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 31 Jul 2018 10:07:13 +0000 (10:07 +0000)
commitff8aec2595ced9fc309dc23b3acc375bf4396ae9
tree43d135b72926449bf34f2bba199c9f1e1304c28f
parent95b1fd20f8e6d193594791eda4b50dd69653cdd2
Fix setting the voltage; the code was using the wrong variable as a step size.
Includes some cosmetic fixes as well.
sys/dev/fdt/fanpwr.c