We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5561a2b commit a998ec3Copy full SHA for a998ec3
drivers/gpio/gpio-ftgpio010.c
@@ -315,17 +315,17 @@ static int ftgpio_gpio_probe(struct platform_device *pdev)
315
return 0;
316
317
dis_clk:
318
- if (!IS_ERR(g->clk))
319
- clk_disable_unprepare(g->clk);
+ clk_disable_unprepare(g->clk);
+
320
return ret;
321
}
322
323
static int ftgpio_gpio_remove(struct platform_device *pdev)
324
{
325
struct ftgpio_gpio *g = platform_get_drvdata(pdev);
326
327
328
329
330
331
0 commit comments