diff options
author | 2011-09-20 15:09:00 +0800 | |
---|---|---|
committer | 2011-09-20 12:58:59 +0100 | |
commit | d890a1a42dff2e6987f04f18fc9e467b10e99cc9 (patch) | |
tree | abbbfd6b6e71df9970e774c41adf0cf9cf9928ac /kernel | |
parent | ASoC: Refcount WM8996 bandgap from FLL too (diff) | |
download | wireguard-linux-d890a1a42dff2e6987f04f18fc9e467b10e99cc9.tar.xz wireguard-linux-d890a1a42dff2e6987f04f18fc9e467b10e99cc9.zip |
ASoC: fsl: Fix error handling if platform_device_add fails
Call platform_device_put() instead of platform_device_unregister() if
platform_device_add() fails.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions