[ARM] pxa: don't pass a consumer clock name for devices with unique clocks
Where devices only have one consumer, passing a consumer clock ID has no real benefit. Remove it. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Russell King

vecāks
8c3abc7d90
revīzija
e0d8b13ae1
@@ -1016,7 +1016,7 @@ static int i2c_pxa_probe(struct platform_device *dev)
|
||||
snprintf(i2c->adap.name, sizeof(i2c->adap.name), "pxa_i2c-i2c.%u",
|
||||
i2c->adap.nr);
|
||||
|
||||
i2c->clk = clk_get(&dev->dev, "I2CCLK");
|
||||
i2c->clk = clk_get(&dev->dev, NULL);
|
||||
if (IS_ERR(i2c->clk)) {
|
||||
ret = PTR_ERR(i2c->clk);
|
||||
goto eclk;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user