[PATCH openEuler-5.10 275/582] ACPI: Use DEVICE_ATTR_<RW|RO|WO> macros