platform/x86: mlx-platform: Use define for the channel numbers
authorVadim Pasternak <vadimp@mellanox.com>
Tue, 13 Feb 2018 22:09:33 +0000 (22:09 +0000)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 23 Mar 2018 23:14:27 +0000 (16:14 -0700)
commitd066f144d66728b8187bda5ef966b44c58935484
treef79b3418048b2de39835d96271a7ce15d5d056d7
parent502ab004e6c4426b91460d8be8b9d4a4bf206657
platform/x86: mlx-platform: Use define for the channel numbers

Add define for the channels number for mux device, instead of using
hardcoded value inside the code in order to improve code readability.

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