From: Alexander Aring Date: Wed, 5 Nov 2014 19:51:16 +0000 (+0100) Subject: mac802154: move dev_hold out of ieee802154_if_add X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~134^2~66^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12cb56c2370b2911295026630a71af044c12d2aa;p=pandora-kernel.git mac802154: move dev_hold out of ieee802154_if_add This patch moves the dev_hold call inside of nl-phy ieee802154_add_iface function. The ieee802154_add_iface is the only one function which use the ieee802154_if_add function and contains the corresponding dev_put call. Signed-off-by: Alexander Aring Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed