Exact solution of Schrödinger equation with deformed ring-shaped potential