diff options
author | Yongqiang Sun <yongqiang.sun@amd.com> | 2019-02-13 10:35:43 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-03-19 15:36:49 -0500 |
commit | 148cccf267531ca5165ae3a637e48948e6c26697 (patch) | |
tree | 880c04308d8f2ce9d033a64b5d44a0a7849340de /drivers/bluetooth/hci_h4.c | |
parent | 929c3aaa26ef69abdb5e5ec7af5eacd6f6687836 (diff) | |
download | linux-148cccf267531ca5165ae3a637e48948e6c26697.tar.bz2 |
drm/amd/display: Refactor reg_set and reg_update.
[Why]
Current reg update and reg set use same functions and
only delta is update reads reg value and call update function.
[How]
Refactor reg update and reg set functions.
1.Implement different functions for reg update and reg set.
2.Wrap same process to a help function, both reg update and
reg set will call it.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/bluetooth/hci_h4.c')
0 files changed, 0 insertions, 0 deletions