Skip to content

Commit

Permalink
at86rf230: remove #ifdef CONFIG_OF
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Aring authored and David S. Miller committed Apr 26, 2014
1 parent 90b1552 commit a8b66db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ieee802154/at86rf230.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
Expand All @@ -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", },
Expand Down

0 comments on commit a8b66db

Please sign in to comment.