hwmon: (applesmc) Fix checkpatch errors and fix value range checks