scsi: ufs: qcom: Don't free resource-managed kmalloc element
authorVivek Gautam <vivek.gautam@codeaurora.org>
Tue, 8 Nov 2016 10:07:51 +0000 (15:37 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 23:05:45 +0000 (18:05 -0500)
commit41e1d60ea50a97fe1c3f8075a13761ddc17dd45a
treed25dc2d893f80e34ede92ceec7d29ec2c0c0ec65
parentd7fe6b661abc2d034a0ad7d582a630f347d56a7b
scsi: ufs: qcom: Don't free resource-managed kmalloc element

Host is allocated by managed kmalloc (devm_kmalloc). The
memory allocated with this function is automatically
freed on driver detach.
So, no need to make an exclusive free call over it.

Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-qcom.c