mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02: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:
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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user