[PATCH 6.1 474/508] hwmon: (occ) Rework attribute registration for stack usage