]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f4188ef6c03f53f14f2317105e89f56bd059d17
tree62049dc76c7b3c7926a01b19caf661561642fc9c
parent0776591a77bd8aab2947af52d8da02dfc702264e
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