]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: mlx-platform: Use defines for bus assignment
authorVadim Pasternak <vadimp@mellanox.com>
Fri, 2 Feb 2018 08:45:45 +0000 (08:45 +0000)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 9 Feb 2018 01:45:02 +0000 (17:45 -0800)
commit32416d3b2648dc2f498bad51edcc83e3665f1baa
tree0ae14f1a6d5ff503b2f55730bc543928fa04be9c
parentd1d350c24a3a32aea9cb767c0fd6aa47fb4993ec
platform/x86: mlx-platform: Use defines for bus assignment

Add defines for the bus IDs, used for hotplug device topology to improve
code readability. Defines added for FAN and power units.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/mlx-platform.c