platform/mellanox: mlxreg-hotplug: Change input for device create routine
authorVadim Pasternak <vadimp@mellanox.com>
Tue, 13 Feb 2018 22:09:35 +0000 (22:09 +0000)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 23 Mar 2018 23:14:28 +0000 (16:14 -0700)
commitf709e1bfb0c643a866b909d101442c7a7f425655
tree08fed5b6963d15e43e53484da5ef3c63d9346e2c
parentd726f6b1997528354e1053accbb6223981e81802
platform/mellanox: mlxreg-hotplug: Change input for device create routine

Change the first input parameter in mlxreg_hotplug_device_create to the
pointer to mlxreg_hotplug private data in order to use the fields from
the private data structure.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
[dvhart: Cleaned up commit message]
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/mellanox/mlxreg-hotplug.c