diff options
| author | Subhash Jadavani <[email protected]> | 2016-10-27 17:25:58 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2016-11-08 17:30:00 -0500 |
| commit | afa3dfd42d205b106787476647735aa1de1a5d02 (patch) | |
| tree | 684b4a10c87d673ff98368b05e1bdfcc4986f1ba /tools/perf/scripts/python/bin | |
| parent | 30fc33f1ef475480dc5bea4fe1bda84b003b992c (diff) | |
scsi: ufshcd: release resources if probe fails
If ufshcd pltfrm/pci driver's probe fails for some reason then ensure
that scsi host is released to avoid memory leak but managed memory
allocations (via devm_* calls) need not to be freed explicitly on probe
failure as memory allocated with these functions is automatically freed
on driver detach.
Reviewed-by: Sahitya Tummala <[email protected]>
Signed-off-by: Subhash Jadavani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions