summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-07-26 19:19:45 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-07-26 19:19:45 -0700
commit1414afe1cfaa8009c2898fb0522ab6e475ccdd99 (patch)
tree1c89349c2b7a12be0188c6e20b00d8be0a28323d /drivers
parent60384a417c64b11861a4c59473687d7342cac7d9 (diff)
parent058355d2bf48c043291d0a0763dce79d238a841b (diff)
Merge "msm: sps: Suppress bind/unbind attributes"
Diffstat (limited to 'drivers')
-rw-r--r--drivers/platform/msm/sps/sps.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/platform/msm/sps/sps.c b/drivers/platform/msm/sps/sps.c
index 59a9b911553c..0f6b66719ef2 100644
--- a/drivers/platform/msm/sps/sps.c
+++ b/drivers/platform/msm/sps/sps.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2011-2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -1006,8 +1006,6 @@ static void sps_device_de_init(void)
"sps:%s:BAMs are still registered", __func__);
sps_map_de_init();
-
- kfree(sps);
}
sps_mem_de_init();
@@ -2993,6 +2991,7 @@ static struct platform_driver msm_sps_driver = {
.name = SPS_DRV_NAME,
.owner = THIS_MODULE,
.of_match_table = msm_sps_match,
+ .suppress_bind_attrs = true,
},
.remove = msm_sps_remove,
};