[PATCH 5.15 369/411] hwmon: (occ) Rework attribute registration for stack usage