]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitccd59d9476f9d5ea685d26deb97ca38985d99d86
treed21431c33ba0c438feb9cd835552d077c00b736a
parentfa2c8e96a8f21ecbe1dc461652cac5bec7e2e830
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