platform/mellanox: Group create/destroy with attribute functions
authorVadim Pasternak <vadimp@mellanox.com>
Tue, 23 Jan 2018 02:50:20 +0000 (18:50 -0800)
committerDarren Hart (VMware) <dvhart@infradead.org>
Wed, 31 Jan 2018 18:36:49 +0000 (10:36 -0800)
commit752849e69715fdc2190945f5532d70e8c80bf384
tree1e6b5c6bbbb9f46d3b01a289bcc376745a8bbcbd
parent3d838f5514ca5318f46bdb5b3f997cee66091695
platform/mellanox: Group create/destroy with attribute functions

Move the mlxreg_hotplug_device_create and _destroy functions up with the
related attribute functions. No functional changes.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
[dvhart: refactored commit into smaller functional changes]
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/mellanox/mlxreg-hotplug.c