mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 03:31:04 -04:00
staging: clocking-wizard: Rename speed-grade to xlnx,speed-grade
Rename speed-grade to xlnx,speed-grade Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Link: https://lore.kernel.org/r/1614172241-17326-3-git-send-email-shubhrajyoti.datta@xilinx.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b03dea2593
commit
17aa33ff56
@@ -147,7 +147,7 @@ static int clk_wzrd_probe(struct platform_device *pdev)
|
||||
if (IS_ERR(clk_wzrd->base))
|
||||
return PTR_ERR(clk_wzrd->base);
|
||||
|
||||
ret = of_property_read_u32(np, "speed-grade", &clk_wzrd->speed_grade);
|
||||
ret = of_property_read_u32(np, "xlnx,speed-grade", &clk_wzrd->speed_grade);
|
||||
if (!ret) {
|
||||
if (clk_wzrd->speed_grade < 1 || clk_wzrd->speed_grade > 3) {
|
||||
dev_warn(&pdev->dev, "invalid speed grade '%d'\n",
|
||||
|
||||
Reference in New Issue
Block a user