Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 513d3c0f authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij
Browse files

gpio: xgene: Remove unneeded #ifdef CONFIG_OF guard



This driver depends on OF_GPIO, so it won't be built if !CONFIG_OF.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 02ed185a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -220,13 +220,11 @@ static int xgene_gpio_remove(struct platform_device *pdev)
	return 0;
}

#ifdef CONFIG_OF
static const struct of_device_id xgene_gpio_of_match[] = {
	{ .compatible = "apm,xgene-gpio", },
	{},
};
MODULE_DEVICE_TABLE(of, xgene_gpio_of_match);
#endif

static struct platform_driver xgene_gpio_driver = {
	.driver = {