]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lis3: free regulators if probe() fails
authorÉric Piel <eric.piel@tremplin-utc.net>
Mon, 24 Oct 2011 14:58:38 +0000 (01:58 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Oct 2011 09:07:56 +0000 (20:07 +1100)
commita9b2aa96b9081267fbe8209691cecc7b437f2ea0
treeb2505a6da707cfdb0544fcc1f94c7c4e3baeaa7e
parent44d05c395a63c7569d8115fa7df6804337375f9b
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