console: Switch to use stdio_file_to_flags()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 11 Feb 2021 15:09:37 +0000 (17:09 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 16 Feb 2021 16:16:07 +0000 (11:16 -0500)
commit7b9ca3f89c340f3a195e17ccdd7d512e0884e555
tree4829667af35dff505a36ff3bbdcc462a42c4c1cf
parentd9b0ac90baf499d215462ed7afffbfd22a58340b
console: Switch to use stdio_file_to_flags()

Deduplicate code by replacing with stdio_file_to_flags() helper.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
common/console.c