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: 79e29cb8fb ("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>
This commit is contained in:
committed by
Andy Shevchenko
parent
d1eef1c619
commit
77dcc95e20
@@ -309,7 +309,7 @@ static struct platform_driver mlxbf_bootctl_driver = {
|
||||
.probe = mlxbf_bootctl_probe,
|
||||
.driver = {
|
||||
.name = "mlxbf-bootctl",
|
||||
.groups = mlxbf_bootctl_groups,
|
||||
.dev_groups = mlxbf_bootctl_groups,
|
||||
.acpi_match_table = mlxbf_bootctl_acpi_ids,
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user