Retired Marine Corps general John Kelly was brought in as US President Donald Trump's chief of staff to bring order to what was seen as a White House in disarray.