platform/x86: mlx-platform: Add mlxcpld-hotplug driver registration
authorVadim Pasternak <vadimp@mellanox.com>
Thu, 27 Oct 2016 19:55:54 +0000 (19:55 +0000)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 16 Dec 2016 21:30:25 +0000 (23:30 +0200)
commitafc4715901f0dce3206837a7051af05abf5a1e06
tree1341035a59f4136d768ebce7d818d4b8bc7f203b
parentc3886c9d6076555697551da9b921cf6a6e9cc2b5
platform/x86: mlx-platform: Add mlxcpld-hotplug driver registration

Add calls for mlxcpld-hotplug platform driver registration/unregistration
and add platform hotplug data configurations. This driver, when registered
within system will handle system hot-plug events for the power suppliers,
power cables and fans (insertion and removing). These events are
controlled through CPLD Lattice device.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/mlx-platform.c