summaryrefslogtreecommitdiff
path: root/fs/namei.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-07-26 02:41:58 (GMT)
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-07-27 10:29:27 (GMT)
commite9a1c5129de1caf4526b8df5f200ff628b2ffab4 (patch)
treeac137716e50cb3216a71536f37c7248fd9dc95f8 /fs/namei.c
parent979da89a9c230381ca55ea0764428a5d42a01e7f (diff)
downloadlinux-fsl-qoriq-e9a1c5129de1caf4526b8df5f200ff628b2ffab4.tar.xz
wm8350-regulator: fix wm8350_register_regulator error handling
In the case of platform_device_add() fail, we should call platform_device_put() instead of platform_device_del() Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions