diff options
| author | Vadim Pasternak <vadimp@mellanox.com> | 2018-03-27 06:02:01 -0400 |
|---|---|---|
| committer | Darren Hart (VMware) <dvhart@infradead.org> | 2018-05-12 18:38:40 -0400 |
| commit | 98004a78bb6cf18c260cecb49cb01e36cf6a72be (patch) | |
| tree | 71ab3da683d96268d828e1637eb08b18f59eef57 /include/linux/platform_data | |
| parent | fd75ba2b83cce3fe0a4bba112808fc33bc27c14a (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')
| -rw-r--r-- | include/linux/platform_data/mlxreg.h | 3 |
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 { | |||
| 58 | * struct mlxreg_core_data - attributes control data: | 58 | * struct mlxreg_core_data - attributes control data: |
| 59 | * | 59 | * |
| 60 | * @label: attribute label; | 60 | * @label: attribute label; |
| 61 | * @label: attribute register offset; | ||
| 62 | * @reg: attribute register; | 61 | * @reg: attribute register; |
| 63 | * @mask: attribute access mask; | 62 | * @mask: attribute access mask; |
| 64 | * @mode: access mode; | ||
| 65 | * @bit: attribute effective bit; | 63 | * @bit: attribute effective bit; |
| 64 | * @mode: access mode; | ||
| 66 | * @np - pointer to node platform associated with attribute; | 65 | * @np - pointer to node platform associated with attribute; |
| 67 | * @hpdev - hotplug device data; | 66 | * @hpdev - hotplug device data; |
| 68 | * @health_cntr: dynamic device health indication counter; | 67 | * @health_cntr: dynamic device health indication counter; |
