commit | b2cfdf3c6720b9b77758ef229401f28f48c3372b | [log] [tgz] |
---|---|---|
author | Alexander Aring <alex.aring@gmail.com> | Mon Sep 21 11:24:23 2015 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Sep 22 11:51:20 2015 +0200 |
tree | 68b3606853eeb6d3f27dd233dcbf159a6a4a5a99 | |
parent | c9f883f6fe66ff08ea968494709f4c0b28bc619a [diff] |
mrf24j40: use ieee802154_alloc_hw for private data This patch removes the own private dataroom allocation by calling devm_kzalloc for devrec and assign this pointer to "devrec->hw->priv". Instead we using like all other drivers ieee802154_alloc_hw and give the size for the private driver dataroom at the first argument. Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com> Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>