summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/mlxreg.h
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@mellanox.com>2018-03-27 10:02:01 +0000
committerDarren Hart (VMware) <dvhart@infradead.org>2018-05-12 15:38:40 -0700
commit98004a78bb6cf18c260cecb49cb01e36cf6a72be (patch)
tree71ab3da683d96268d828e1637eb08b18f59eef57 /include/linux/platform_data/mlxreg.h
parentfd75ba2b83cce3fe0a4bba112808fc33bc27c14a (diff)
platform_data/mlxreg: Document fixes for hotplug device
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>
Diffstat (limited to 'include/linux/platform_data/mlxreg.h')
-rw-r--r--include/linux/platform_data/mlxreg.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/platform_data/mlxreg.h b/include/linux/platform_data/mlxreg.h
index 2744cff1b297..19f5cb618c55 100644
--- a/include/linux/platform_data/mlxreg.h
+++ b/include/linux/platform_data/mlxreg.h
@@ -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;