In his vision of the spirit world, Joseph F. Smith identifies Adam with the "Ancient of Days" but is different from God who Adam and Eve worshiped.
Section 138:38-39, Doctrine and Covenants, The Church of Jesus Christ of Latter-Day Saints, accessed February 8, 2022
38 Among the great and mighty ones who were assembled in this vast congregation of the righteous were Father Adam, the Ancient of Days and father of all,
39 And our glorious Mother Eve, with many of her faithful daughters who had lived through the ages and worshiped the true and living God.