I understand that Locke doesn't believe in innate ideas but what is his stance on God?

In the introduction to Locke there was a point about how he thought that the innate idea theory might have been reiterated to humans for those with "divine right" to keep control, is he an atheist??