Skip to content

Commit 280af2b

Browse files
bebarinobroonie
authored andcommitted
spi: spi-pxa2xx: Remove CLK_IS_ROOT
This flag is a no-op now (see commit 47b0eeb "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it. Cc: Daniel Mack <[email protected]> Cc: Haojian Zhuang <[email protected]> Cc: Robert Jarzmik <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent a52db65 commit 280af2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/spi/spi-pxa2xx-pci.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ static int pxa2xx_spi_pci_probe(struct pci_dev *dev,
173173
ssp->type = c->type;
174174

175175
snprintf(buf, sizeof(buf), "pxa2xx-spi.%d", ssp->port_id);
176-
ssp->clk = clk_register_fixed_rate(&dev->dev, buf , NULL,
177-
CLK_IS_ROOT, c->max_clk_rate);
176+
ssp->clk = clk_register_fixed_rate(&dev->dev, buf , NULL, 0,
177+
c->max_clk_rate);
178178
if (IS_ERR(ssp->clk))
179179
return PTR_ERR(ssp->clk);
180180

0 commit comments

Comments
 (0)