
It's not a matter of "omitting a preposition" - these are different idioms.
"Done" = "finished", which may take a gerund complement, implies simply that you are no longer doing the activity. If it is a telic activity, there is an implication that end has been reached, but it does not have to be ...