]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lis3: free regulators if probe() fails
authorÉric Piel <eric.piel@tremplin-utc.net>
Wed, 5 Oct 2011 00:43:21 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Oct 2011 06:49:33 +0000 (17:49 +1100)
commitc92b119dde0d5a14e121d89d0169a6358a49b7a2
tree30ce23d58df693f0ccac867348dd3de860258bf7
parent984c1609cd28c7f9a8dcce1696dc7a5e3bb2eee1
lis3: free regulators if probe() fails

Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com>
Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Witold Pilat <witold.pilat@gmail.com>
Cc: Lyall Pearce <lyall.pearce@hp.com>
Cc: Malte Starostik <m-starostik@versanet.de>
Cc: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Cc: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/misc/lis3lv02d/lis3lv02d_i2c.c