aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154/at86rf230.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-02-14 22:03:29 -0500
committerDavid S. Miller <davem@davemloft.net>2013-02-15 15:35:34 -0500
commitc14dd2680baaef02aa4d221a2b5d337fbfd71b00 (patch)
treed23864d3773dd30d6919408aa4b5cbcf9ab4d1eb /drivers/net/ieee802154/at86rf230.c
parentf85b02c2bd7be7832f4d1ff55f401fcf38573e47 (diff)
ieee802154: at86rf230: Remove empty suspend/resume callbacks
There is no need to implement empty suspend/resume callbacks if there is nothing to do during suspend/resume. The drivers will behave the same with no callbacks or empty callbacks during suspend/resume. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ieee802154/at86rf230.c')
-rw-r--r--drivers/net/ieee802154/at86rf230.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
index a4a62e170ec0..fc1687ea4a42 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/drivers/net/ieee802154/at86rf230.c
@@ -751,16 +751,6 @@ static int at86rf230_hw_init(struct at86rf230_local *lp)
751 return 0; 751 return 0;
752} 752}
753 753
754static int at86rf230_suspend(struct spi_device *spi, pm_message_t message)
755{
756 return 0;
757}
758
759static int at86rf230_resume(struct spi_device *spi)
760{
761 return 0;
762}
763
764static int at86rf230_fill_data(struct spi_device *spi) 754static int at86rf230_fill_data(struct spi_device *spi)
765{ 755{
766 struct at86rf230_local *lp = spi_get_drvdata(spi); 756 struct at86rf230_local *lp = spi_get_drvdata(spi);
@@ -948,8 +938,6 @@ static struct spi_driver at86rf230_driver = {
948 }, 938 },
949 .probe = at86rf230_probe, 939 .probe = at86rf230_probe,
950 .remove = at86rf230_remove, 940 .remove = at86rf230_remove,
951 .suspend = at86rf230_suspend,
952 .resume = at86rf230_resume,
953}; 941};
954 942
955module_spi_driver(at86rf230_driver); 943module_spi_driver(at86rf230_driver);