power: vexpress: add suppress_bind_attrs to true
commit7685957941e468e359ee34c77273d148911693a6
authorAnders Roxell <anders.roxell@linaro.org>
Wed, 27 May 2020 11:26:04 +0000 (27 13:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:33:03 +0000 (22 09:33 +0200)
treea43f71d29d73d004b8dd001e9a69c21f0a20af87
parenta95b27dc2751fc5174657a31be635837ed5af711
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