platform/x86: mlx-platform: Change API for i2c-mlxcpld driver activation
authorVadim Pasternak <vadimp@mellanox.com>
Sun, 23 Jun 2019 12:16:25 +0000 (12:16 +0000)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 3 Jul 2019 12:37:33 +0000 (15:37 +0300)
commitd66656262a23c20cb6d88b772b65ad26fa3fc38b
tree136ade930941ad2a10cd566e635dfa92a3868ded
parent6b266e91a0715dae9923a2791e0b98165163e91f
platform/x86: mlx-platform: Change API for i2c-mlxcpld driver activation

Activate 'i2c-mlxcpld' driver with 'platform_device_register_resndata'
instead off 'platform_device_register_simple' in order to pass platform
specific info.
Add platform i2c data for the next generation systems.

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