]> git.karo-electronics.de Git - linux-beck.git/commit
NFC: st21nfcb: Remove inappropriate kfree on a previously devm_kzalloc pointer
authorChristophe Ricard <christophe.ricard@gmail.com>
Mon, 28 Jul 2014 16:11:36 +0000 (18:11 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 21:56:48 +0000 (23:56 +0200)
commitdf2566fe37d92dfba032e6084ebfb708dac5dc9a
treeb8c4f3e6705a2576aeb1fcc9a0136e02f4975cd0
parent2c376a9e3c973e7923daba78aa16c768503cdef3
NFC: st21nfcb: Remove inappropriate kfree on a previously devm_kzalloc pointer

In case of an error during driver probe, info pointer was freed with kfree.
No need to free anything when using devm_kzalloc.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfcb/st21nfcb.c