[PATCH 5.10 305/355] hwmon: (occ) Rework attribute registration for stack usage