diff options
author | Santosh Shilimkar <[email protected]> | 2013-03-25 15:35:05 +0530 |
---|---|---|
committer | Kevin Hilman <[email protected]> | 2013-04-09 09:45:45 -0700 |
commit | 63b951ed5b82c2891982437d1f57cb94dc0b3757 (patch) | |
tree | c46595fae5a5691dacc7baf046d2af476209818d /net/lapb/lapb_in.c | |
parent | dbd1ba6a62408520e5c7a024b521af14e71b2987 (diff) |
ARM: OMAP: CPUidle: Unregister drivere on device registration failure
If the CPUidle device registration fails for some reason, we should
unregister the driver on error path.
Fix the code accordingly. Also when at it, check of the driver registration
failure too.
Acked-by: Nishanth Menon <[email protected]>
Signed-off-by: Santosh Shilimkar <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions