]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: mlx-platform: mlxcpld-hotplug driver style fixes
authorVadim Pasternak <vadimp@mellanox.com>
Wed, 14 Dec 2016 12:05:15 +0000 (12:05 +0000)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 3 Feb 2017 12:04:53 +0000 (14:04 +0200)
commit11ad122dd8cee3ce742a98abee2b05328645f78c
tree3d991108b756ce4d2405c72c54cd29a5cb01dbda
parent70344a9d6c4571d641fd8bc8524e97e9833f21c2
platform/x86: mlx-platform: mlxcpld-hotplug driver style fixes

The patch contains several styling fixes:
  - 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;

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