Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: keystone: sci-clk: cut down the clock name length

There is no need to store the full node name to the individual clocks,
as this will just consome memory and make the clock debug entries
unnecessary long. Just shorten this to "clk" for now.

Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Tero Kristo <t-kristo@ti.com>

+3 -4
+3 -4
drivers/clk/keystone/sci-clk.c
··· 280 280 int i; 281 281 int ret = 0; 282 282 283 - name = kasprintf(GFP_KERNEL, "%s:%d:%d", dev_name(provider->dev), 284 - sci_clk->dev_id, sci_clk->clk_id); 283 + name = kasprintf(GFP_KERNEL, "clk:%d:%d", sci_clk->dev_id, 284 + sci_clk->clk_id); 285 285 286 286 init.name = name; 287 287 ··· 306 306 for (i = 0; i < sci_clk->num_parents; i++) { 307 307 char *parent_name; 308 308 309 - parent_name = kasprintf(GFP_KERNEL, "%s:%d:%d", 310 - dev_name(provider->dev), 309 + parent_name = kasprintf(GFP_KERNEL, "clk:%d:%d", 311 310 sci_clk->dev_id, 312 311 sci_clk->clk_id + 1 + i); 313 312 if (!parent_name) {