Skip to content

Commit a8b66db

Browse files
alexaringdavem330
authored andcommitted
at86rf230: remove #ifdef CONFIG_OF
This is already handled by the of_match_ptr macro. Signed-off-by: Alexander Aring <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 90b1552 commit a8b66db

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/ieee802154/at86rf230.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,6 @@ static int at86rf230_remove(struct spi_device *spi)
12151215
return 0;
12161216
}
12171217

1218-
#if IS_ENABLED(CONFIG_OF)
12191218
static const struct of_device_id at86rf230_of_match[] = {
12201219
{ .compatible = "atmel,at86rf230", },
12211220
{ .compatible = "atmel,at86rf231", },
@@ -1224,7 +1223,6 @@ static const struct of_device_id at86rf230_of_match[] = {
12241223
{ },
12251224
};
12261225
MODULE_DEVICE_TABLE(of, at86rf230_of_match);
1227-
#endif
12281226

12291227
static const struct spi_device_id at86rf230_device_id[] = {
12301228
{ .name = "at86rf230", },

0 commit comments

Comments
 (0)