summaryrefslogtreecommitdiffstats
path: root/Documentation/spi/00-INDEX
diff options
context:
space:
mode:
authorAxel Lin2014-03-20 10:20:17 +0100
committerMark Brown2014-03-21 19:12:03 +0100
commit7282326b722995c3fabd4dcd9244182b37500252 (patch)
tree4ffffcf62da593a467cd4e4f4443068ee4b61b0b /Documentation/spi/00-INDEX
parentspi: fsl-spi: Convert to let spi core validate xfer->bits_per_word (diff)
downloadkernel-qcow2-linux-7282326b722995c3fabd4dcd9244182b37500252.tar.gz
kernel-qcow2-linux-7282326b722995c3fabd4dcd9244182b37500252.tar.xz
kernel-qcow2-linux-7282326b722995c3fabd4dcd9244182b37500252.zip
spi: fsl-lib: Fix memory leak of pinfo
of_mpc8xxx_spi_probe() allocates memory for pinfo but the memory is not freed anywhere. of_mpc8xxx_spi_probe() is called in .probe() and pinfo should be freed in .remove(), so convert kzalloc to devm_kzalloc to fix the memory leak. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/spi/00-INDEX')
0 files changed, 0 insertions, 0 deletions