]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: move msm_readl/_writel to msm_drv.h
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 5 Jan 2022 23:27:00 +0000 (02:27 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 18 Feb 2022 15:32:52 +0000 (18:32 +0300)
commitdb887c7dd714910180b27deffd95975d3b99958c
tree7d62b4e3a2b5e8b6653fa83ef85c6af46e0e1c90
parent6736c2d2c7d973c8f8c3650b17ed81a8a2e97a91
drm/msm: move msm_readl/_writel to msm_drv.h

With the reglog removal, msm_readl/_writel became single line wrappers
around readl/writel. Move those two wrappers and msm_rmw to msm_drv.h to
remove need for extra function calls when doing register writes.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20220105232700.444170-3-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_drv.h