aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarijn Suijten <[email protected]>2022-06-30 00:53:25 +0200
committerRob Clark <[email protected]>2022-09-18 09:38:05 -0700
commit158ce9cb945b34c78ebd49dbb2c7401ca728c809 (patch)
tree9b75be6ce2dcd25d5dc2dca88eb481c8f00e14ca /tools/perf/scripts/python
parentdcfde8f6b16535124f48f3ee60cb9714401d7c5b (diff)
drm/msm/dsi_phy_28nm_8960: Use stack memory for temporary clock names
The clock names formatted into the hw_clk's init structure are only used for the duration of the registration function where they are kstrdup'ed, making it unnecessary to keep the allocations alive for the duration of the device (through devm). Just like the other DSI PHY PLL clock trees, use a stack-local char array and save on memory outside of the pll_28nm_register function. Signed-off-by: Marijn Suijten <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/491917/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions