Most companies have a policy about social media use and it's impact on your place of work. If you make posts that could cause your employer problems then it's a disciplinary matter. Lineker was warned about his posts, he kept doing it. This was inevitable and is on him.