commit | d8bf4bee49728e31b1d225630c39714a6c42648c | [log] [tgz] |
---|---|---|
author | Daeseok Youn <daeseok.youn@gmail.com> | Mon Mar 28 13:54:15 2016 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Mar 30 21:06:17 2016 -0700 |
tree | 42fbf80c1cd1c4837faa22ae572cb8a1d75b5f88 | |
parent | e078cb2a64fd588557ef2dec573622699a05d642 [diff] |
staging: dgnc: replace dgnc_offset_table with bit shift. the dgnc_offset_table has a same value with (1 << port). So I tried to replace dgnc_offset_table array with 1 << port. And also there are redundant assignments(tmp and current_port) inside while loop for checking uart port, and remove them. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>