[PATCH v2 3/3] drm/sprd: check the platform_get_resource() return value