Gartner says global smartphone sales grew 6% in 2021.