at86rf230: remove #ifdef CONFIG_OF
authorAlexander Aring <alex.aring@gmail.com>
Thu, 24 Apr 2014 17:09:13 +0000 (19:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Apr 2014 16:20:34 +0000 (12:20 -0400)
This is already handled by the of_match_ptr macro.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/at86rf230.c

index cf376c4f3fd3ea3f1d7284f263f8ff9b335c4ab7..b324bb346871c884109d21d97faf462a7a3cbbf2 100644 (file)
@@ -1215,7 +1215,6 @@ static int at86rf230_remove(struct spi_device *spi)
        return 0;
 }
 
-#if IS_ENABLED(CONFIG_OF)
 static const struct of_device_id at86rf230_of_match[] = {
        { .compatible = "atmel,at86rf230", },
        { .compatible = "atmel,at86rf231", },
@@ -1224,7 +1223,6 @@ static const struct of_device_id at86rf230_of_match[] = {
        { },
 };
 MODULE_DEVICE_TABLE(of, at86rf230_of_match);
-#endif
 
 static const struct spi_device_id at86rf230_device_id[] = {
        { .name = "at86rf230", },