Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Vadim Pasternak and committed by
Darren Hart (VMware)
98004a78 fd75ba2b

+1 -2
+1 -2
include/linux/platform_data/mlxreg.h
··· 58 58 * struct mlxreg_core_data - attributes control data: 59 59 * 60 60 * @label: attribute label; 61 - * @label: attribute register offset; 62 61 * @reg: attribute register; 63 62 * @mask: attribute access mask; 64 - * @mode: access mode; 65 63 * @bit: attribute effective bit; 64 + * @mode: access mode; 66 65 * @np - pointer to node platform associated with attribute; 67 66 * @hpdev - hotplug device data; 68 67 * @health_cntr: dynamic device health indication counter;