Merge pull request #477 from mtk09422/console_uninit

Add ret to return from console_uninit() function