firmware: qcom_scm: Suppress sysfs bind attributes
authorStephen Boyd <swboyd@chromium.org>
Tue, 23 Feb 2021 21:45:37 +0000 (13:45 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 7 Apr 2021 02:25:48 +0000 (21:25 -0500)
commit87abf2ba3846d28e4b5f0e5f9cef873b4352a0a9
treea11deeb2e68023a2d3bbb2b7fa413652cc001bfc
parent257f2935cbbf14b16912c635fcd8ff43345c953b
firmware: qcom_scm: Suppress sysfs bind attributes

We don't want userspace ejecting this driver at runtime. Various other
drivers call into this code because it provides the mechanism to
communicate with the secure world on qcom SoCs. It should probe once and
be present forever after that.

Cc: Elliot Berman <eberman@codeaurora.org>
Cc: Brian Masney <masneyb@onstation.org>
Cc: Stephan Gerhold <stephan@gerhold.net>
Cc: Jeffrey Hugo <jhugo@codeaurora.org>
Cc: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20210223214539.1336155-5-swboyd@chromium.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/firmware/qcom_scm.c