summaryrefslogtreecommitdiff
path: root/drivers/md/multipath.c
diff options
context:
space:
mode:
authorVasiliy Kulikov <segooon@gmail.com>2010-09-19 16:55:01 +0400
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-10-02 15:50:30 +0400
commitad7725cb43b8badb2fec2c2bfca07c067f2e19a7 (patch)
tree16c7c2a6ec9605be409677eb1bf1993d208fd4be /drivers/md/multipath.c
parentc6ea21e35bf3691cad59647c771e6606067f627d (diff)
downloadlinux-ad7725cb43b8badb2fec2c2bfca07c067f2e19a7.tar.xz
regulator: fix device_register() error handling
If device_register() fails then call put_device(). See comment to device_register. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/md/multipath.c')
0 files changed, 0 insertions, 0 deletions