diff options
| author | Axel Lin <[email protected]> | 2010-08-24 13:47:22 +0800 |
|---|---|---|
| committer | Samuel Ortiz <[email protected]> | 2010-10-29 00:28:59 +0200 |
| commit | 929980ab1b90b5a5c93db9b9b7d58cc6e93049c8 (patch) | |
| tree | 99eeed3baf78f5ec197efa124ab0df82a4ae70d6 /include/linux/timerqueue.h | |
| parent | 09ff21e0f670a71ea43765cedaab9246fd81540e (diff) | |
mfd: Fix tps6586x_add_subdevs error path
1. return -ENOMEM if platform_device_alloc() fail.
2. call platform_device_put() if platform_device_add() fail.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Mike Rapoport <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions