drm/msm: Add a helper function to parse clock names
authorJordan Crouse <jcrouse@codeaurora.org>
Mon, 6 Aug 2018 17:33:21 +0000 (11:33 -0600)
committerRob Clark <robdclark@gmail.com>
Fri, 10 Aug 2018 22:49:18 +0000 (18:49 -0400)
commit8e54eea503caec53d39e67407ffa785690f38ba4
tree1d31e5d2864a3ce7cf23986b558dd4f4300ce0d0
parent77a209cd7153cd758aa1b1417fb10017bead9454
drm/msm: Add a helper function to parse clock names

Add a helper function to parse the clock names and set up
the bulk data so we can take advantage of the bulk clock
functions instead of rolling our own. This is added
as a helper function so the upcoming a6xx GMU code can
also take advantage of it.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_drv.h
drivers/gpu/drm/msm/msm_gpu.c
drivers/gpu/drm/msm/msm_gpu.h