Zinedine Zidane's Real Madrid secured their 33rd Primera Division title with a 2-0 win over Malaga at La Rosaleda.