[patch v1 0/1] platform/x86: mlx-platform: mlxcpld-hotplug driver notes
From: Vadim Pasternak
Date: Wed Dec 14 2016 - 05:13:35 EST
This patch contains the non-functional fixes, pointed out by Andy.
I was waiting with sending the patch until the patch which moves
mlx-platform driver from arch/x86/platform/mellanox to
drivers/platform/x86 folder is accepted.
Now after the below patches are committed to the testing branch:
platform/x86: mlx-platform: Move module from arch/x86 is committed.
platform/x86: mlx-platform: Add mlxcpld-hotplug driver registration
I'd like to apply the comments pointed out by Andy:
- Make names of hotplug devices shorter;
- Change register offset assignment to defines;
- Add defines for the all event masks;
- Use PLATFORM_DEVID_NONE instead of -1;
Vadim Pasternak (1):
platform/x86: mlx-platform: mlxcpld-hotplug driver style fixes
drivers/platform/x86/mlx-platform.c | 84 ++++++++++++++++++++++---------------
1 file changed, 50 insertions(+), 34 deletions(-)