diff options
author | Stephen Boyd <[email protected]> | 2023-08-29 11:47:26 -0700 |
---|---|---|
committer | Dmitry Baryshkov <[email protected]> | 2023-10-09 12:17:46 +0300 |
commit | 744077f94e431214c10a2802a189a26ed57dd264 (patch) | |
tree | dd0e8e3dad579db951fb87479351406b46caba43 /net/switchdev/switchdev.c | |
parent | efcbd6f9cdeba0b3fff1c9ceab7ea1cf6e3c5ab4 (diff) |
drm/msm/dp: Replace open-coded drm_dp_read_dpcd_caps()
This function duplicates the common function drm_dp_read_dpcd_caps().
The array of DPCD registers filled in is one size larger than the
function takes, but from what I can tell that extra byte was never used.
Resize the array and use the common function to reduce the code here.
Cc: Vinod Polimera <[email protected]>
Cc: Kuogee Hsieh <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Tested-by: Kuogee Hsieh <[email protected]>
Reviewed-by: Kuogee Hsieh <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/554981/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions