]> 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)
commit65dd98cd35c18500c617941002e835c6e7bb6aa7
tree3d991108b756ce4d2405c72c54cd29a5cb01dbda
parent60181cecfd78c8c875b75abad94aaecbc8450c29
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