From: Vincent Cuissard Date: Tue, 22 Jul 2014 17:48:39 +0000 (+0200) Subject: NFC: NCI: Fix nci_register_device init sequence X-Git-Tag: fixes-against-v3.18-rc2~144^2~39^2~72^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c1c0f5dc80bbde5baef2403cc6a0d33c9824d2d;p=pandora-kernel.git NFC: NCI: Fix nci_register_device init sequence All contexts have to be initiliazed before calling nfc_register_device otherwise it is possible to call nci_dev_up before ending the nci_register_device function. In such case kernel will crash on non initialized variables. Signed-off-by: Vincent Cuissard Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed