diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-04-24 13:09:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-26 12:20:34 -0400 |
commit | a8b66db804f045a33c7e52ab32d8338a917a3153 (patch) | |
tree | aa41f39c3130e8f2c5ac6e6ab4df7bf797426cf1 /drivers/net/ieee802154 | |
parent | 90b15520d441b6733843518cfb8c65eee3f36ac8 (diff) |
at86rf230: remove #ifdef CONFIG_OF
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>
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r-- | drivers/net/ieee802154/at86rf230.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index cf376c4f3fd3..b324bb346871 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c | |||
@@ -1215,7 +1215,6 @@ static int at86rf230_remove(struct spi_device *spi) | |||
1215 | return 0; | 1215 | return 0; |
1216 | } | 1216 | } |
1217 | 1217 | ||
1218 | #if IS_ENABLED(CONFIG_OF) | ||
1219 | static const struct of_device_id at86rf230_of_match[] = { | 1218 | static const struct of_device_id at86rf230_of_match[] = { |
1220 | { .compatible = "atmel,at86rf230", }, | 1219 | { .compatible = "atmel,at86rf230", }, |
1221 | { .compatible = "atmel,at86rf231", }, | 1220 | { .compatible = "atmel,at86rf231", }, |
@@ -1224,7 +1223,6 @@ static const struct of_device_id at86rf230_of_match[] = { | |||
1224 | { }, | 1223 | { }, |
1225 | }; | 1224 | }; |
1226 | MODULE_DEVICE_TABLE(of, at86rf230_of_match); | 1225 | MODULE_DEVICE_TABLE(of, at86rf230_of_match); |
1227 | #endif | ||
1228 | 1226 | ||
1229 | static const struct spi_device_id at86rf230_device_id[] = { | 1227 | static const struct spi_device_id at86rf230_device_id[] = { |
1230 | { .name = "at86rf230", }, | 1228 | { .name = "at86rf230", }, |