commit | b117b637da2be83c8173b53986b51ad5b8169d8d | [log] [tgz] |
---|---|---|
author | Mike Rapoport <mike.rapoport@gmail.com> | Wed Feb 10 18:34:06 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 11 19:52:37 2016 -0800 |
tree | 073bd1f3ac2ab6884bd3dd3bdd4c10580dc278a8 | |
parent | 9bd2c86b5a4d4a038c626d39a02d4dc71ac577ff [diff] |
staging: sm750fb: refactor setDisplayControl function The enable/disbable sequence in setDisplayControl function is duplicated for primary and secondary display controllers. The function can be refactored so that the common part of register access will be shared for both controllers. Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>