at86rf230: cleanup start and stop callbacks
authorAlexander Aring <alex.aring@gmail.com>
Tue, 16 Jun 2015 09:07:44 +0000 (11:07 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 16 Jun 2015 16:55:11 +0000 (18:55 +0200)
commit30811fa663d7efa65ccec290b47a1f564485fcdd
tree526db67fc9a67a51bcc3d57bf3230d3f951d3d27
parent74ed9d98456a7a85c9e041cd17350b8583659adf
at86rf230: cleanup start and stop callbacks

This code cleanups the start and stop callbacks by removing hw->priv and
using the already dereferenced variable lp which is the same.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c