aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2011-04-21 14:22:41 +0000
committerFelipe Balbi <[email protected]>2011-05-02 09:34:34 +0000
commitd11536e4e0e99c26d33c849b44cd279cdd67b032 (patch)
tree8319291780b24636dd21c8cb06746ffc220adf84 /fs/ubifs/commit.c
parentusb: musb: gadget: Fix out-of-sync runtime pm calls (diff)
downloadkernel-d11536e4e0e99c26d33c849b44cd279cdd67b032.tar.gz
kernel-d11536e4e0e99c26d33c849b44cd279cdd67b032.zip
mfd: Fix usbhs_enable error handling
In the case of missing platform_data we do not hold a spin_lock, thus we should not call spin_unlock_irqrestore in the error path. Also simplify the error handling by separating the successful path from error path. I think this change improves readability. Signed-off-by: Axel Lin <[email protected]> Tested-by: Steve Calfee <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions