gpu voltage control should be more organized and fix all warnings

Signed-off-by: Willi Ye <williye97@gmail.com>