diff options
author | Alexander Aring <alex.aring@gmail.com> | 2015-09-21 11:24:23 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-09-22 11:51:20 +0200 |
commit | b2cfdf3c6720b9b77758ef229401f28f48c3372b (patch) | |
tree | 68b3606853eeb6d3f27dd233dcbf159a6a4a5a99 /net/unix/af_unix.c | |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions