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)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 May 2020 10:30:47 +0000 (12:30 +0200)
commit73174acc9c75960af2daa7dcbdb9781fc0d135cb
tree62049dc76c7b3c7926a01b19caf661561642fc9c
parent56f292ad66321ec2b06fbbe8a4ac5d520257fb41
power: vexpress: add suppress_bind_attrs to true

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>
drivers/power/reset/vexpress-poweroff.c