[PATCH openEuler-5.10 330/557] platform/x86: huawei-wmi: check the return value of device_create_file()