platform_data/mlxreg: Document fixes for hotplug device
authorVadim Pasternak <vadimp@mellanox.com>
Tue, 27 Mar 2018 10:02:01 +0000 (10:02 +0000)
committerDarren Hart (VMware) <dvhart@infradead.org>
Sat, 12 May 2018 22:38:40 +0000 (15:38 -0700)
Remove redunadant description of label in struct mlxreg_hotplug_device.

Change location of access_mode in struct mlxreg_hotplug_device.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
include/linux/platform_data/mlxreg.h

index 2744cff..19f5cb6 100644 (file)
@@ -58,11 +58,10 @@ struct mlxreg_hotplug_device {
  * struct mlxreg_core_data - attributes control data:
  *
  * @label: attribute label;
- * @label: attribute register offset;
  * @reg: attribute register;
  * @mask: attribute access mask;
- * @mode: access mode;
  * @bit: attribute effective bit;
+ * @mode: access mode;
  * @np - pointer to node platform associated with attribute;
  * @hpdev - hotplug device data;
  * @health_cntr: dynamic device health indication counter;