DGP M Ravi retires