OSDN Git Service

msm: sps: Suppress bind/unbind attributes
authorSiva Kumar Akkireddi <sivaa@codeaurora.org>
Thu, 5 Jul 2018 05:25:32 +0000 (10:55 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Thu, 26 Jul 2018 15:43:13 +0000 (08:43 -0700)
commit058355d2bf48c043291d0a0763dce79d238a841b
tree18ea723a35cb07c6532a38893ae6ae9274af0ba7
parentb2cbbffddd6874386c86838efe48d545653e57a0
msm: sps: Suppress bind/unbind attributes

SPS driver does not support manual bind/unbind operations
through sysfs. Suppress the bind/unbind nodes. Do not free
SPS struct in sps_device_de_init since it is being done in
sps_exit, and also to avoid use-after-free.

Change-Id: If6da6c5fb9d1a44d0420c6151f7f9d0a33cb2d04
Signed-off-by: Siva Kumar Akkireddi <sivaa@codeaurora.org>
drivers/platform/msm/sps/sps.c