[PATCH] drm/gma500: remove helper function