I would say that Vance was the main inspiration, but it's gone a way afield since. Tolkien's books inspired nothing of the D&D spellcasting, though surely they inspired many other elements of the game (treants=ent, halflings=hobbit, balors=balrog, worgs=warg, werebear=Beorn, giant eagles=Gwahir...