M2_SPR: remove unused function and add a2220 header to fix build