iio: common: nvs: Set st->trig null after free
authorSpencer Sutterlin <ssutterlin@nvidia.com>
Fri, 28 Oct 2016 01:11:33 +0000 (18:11 -0700)
committerAmar Agrawal <amara@nvidia.com>
Tue, 1 Nov 2016 12:43:18 +0000 (05:43 -0700)
commitcff8a26be3bb673c3436809335709a8a00501dd9
tree8194284df841e484378001582af3c6be9366d07d
parent62cfea56767e680f202c8e3923dafb0c8dcfadb0
iio: common: nvs: Set st->trig null after free

Bug 200244923

Change-Id: Icd3cb01825fed14604130b278af6fa64b70365c0
Signed-off-by: Spencer Sutterlin <ssutterlin@nvidia.com>
Reviewed-on: http://git-master/r/1244153
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/iio/common/nvs/nvs_iio.c