summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@mellanox.com>2018-03-27 13:02:01 +0300
committerDarren Hart (VMware) <dvhart@infradead.org>2018-05-13 01:38:40 +0300
commit98004a78bb6cf18c260cecb49cb01e36cf6a72be (patch)
tree71ab3da683d96268d828e1637eb08b18f59eef57 /include/linux
parentfd75ba2b83cce3fe0a4bba112808fc33bc27c14a (diff)
downloadlinux-98004a78bb6cf18c260cecb49cb01e36cf6a72be.tar.xz
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')
-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;