]> git.karo-electronics.de Git - karo-tx-linux.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)
commit9a38b67c9877a7371a250454bbbbf521d02fded5
tree3d991108b756ce4d2405c72c54cd29a5cb01dbda
parent3e491607600aacab5d9cc13aabb9c8b07b0c0909
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