drivers/ieee802154/at86rf230: replace the code under _init and _exit by macro
authoralex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com>
Sun, 26 Aug 2012 05:10:10 +0000 (05:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Aug 2012 17:23:15 +0000 (13:23 -0400)
commit395a57385508f7b8b445b6911bfa35bc0ccaa0ff
treed21431c33ba0c438feb9cd835552d077c00b736a
parent9eca2eb9942ee0b6f2bc76485e16e334aee2c0bf
drivers/ieee802154/at86rf230: replace the code under _init and _exit by macro

The code under _init and _exit functions is similar to the code of
module_spi_driver macro, which is a wrapper to the module_driver macro,
so use it instead.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Cc: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ieee802154/at86rf230.c