power: vexpress: add suppress_bind_attrs to true
authorAnders Roxell <anders.roxell@linaro.org>
Wed, 27 May 2020 11:26:04 +0000 (13:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Jun 2020 08:23:24 +0000 (10:23 +0200)
commitac62bc83bfd73ae20eca64604d8f447cffb69a2f
tree35efe9b83e6cdf6815223c10beae137e3a58c65d
parentf4b499923b9f7e2878540701c8fbdb6280b70994
power: vexpress: add suppress_bind_attrs to true

commit 73174acc9c75960af2daa7dcbdb9781fc0d135cb upstream.

Make sure that the POWER_RESET_VEXPRESS driver won't have bind/unbind
attributes available via the sysfs, so lets be explicit here and use
".suppress_bind_attrs = true" to prevent userspace from doing something
silly.

Link: https://lore.kernel.org/r/20200527112608.3886105-2-anders.roxell@linaro.org
Cc: stable@vger.kernel.org
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/power/reset/vexpress-poweroff.c