More cleanup. Add DEVNAME() macro and generic functions for various actions (set/get/reset/enable/disable) to wrap pms_cmd() invocations.
More cleanup. Add DEVNAME() macro and generic functions for various
actions (set/get/reset/enable/disable) to wrap pms_cmd() invocations.

No functional change. From Alexandr Scadchin again.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars