Modularity of p-adic Galois representations via p-adic approximations