[PATCH openEuler-1.0-LTS 3/3] rtc: mt6397: check return value after calling platform_get_resource()