From: Alexander Aring Date: Wed, 5 Nov 2014 19:51:12 +0000 (+0100) Subject: ieee802154: rework wpan_phy index assignment X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~134^2~66^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53f9ee61b46d81a43d8c6694d136896e8f49a7b8;p=pandora-kernel.git ieee802154: rework wpan_phy index assignment This patch reworks the wpan_phy index incrementation. It's now similar like wireless wiphy index incrementation. We move the wpan_phy index attribute inside of cfg802154_registered_device and use atomic operations instead locking mechanism via wpan_phy_mutex. Signed-off-by: Alexander Aring Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed