]> git.baikalelectronics.ru Git - kernel.git/commit
platform/mellanox: fix the mlx-bootctl sysfs
authorLiming Sun <lsun@mellanox.com>
Wed, 18 Dec 2019 18:35:27 +0000 (13:35 -0500)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 20 Dec 2019 17:00:50 +0000 (19:00 +0200)
commitcb8a2fe0c175f6f4dec321d0c48efc62aaa8dc66
tree3a2688d0e0394efee134b1ef2752426f24af9bd7
parent498b47670c5ee1c0b4be596eefcfb035b76ac53e
platform/mellanox: fix the mlx-bootctl sysfs

This is a follow-up commit for the sysfs attributes to change
from DRIVER_ATTR to DEVICE_ATTR according to some initial comments.
In such case, it's better to point the sysfs path to the device
itself instead of the driver. The ABI document is also updated.

Fixes: c88cbe1708ed ("platform/mellanox: Add bootctl driver for Mellanox BlueField Soc")
Signed-off-by: Liming Sun <lsun@mellanox.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Documentation/ABI/testing/sysfs-platform-mellanox-bootctl
drivers/platform/mellanox/mlxbf-bootctl.c