Grandparent owner 529 plan

I have a 529 plan for my granddaughter. In July I took out $10k and sent it to her college. Her tuition was more than that. In the past, I have been able to offset the earnings distribution on my taxes by entering the tuition information. I don't see a way to do that now. She has never been a dependent. Can I continue to offset the earnings to avoid paying taxes on them?