]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: add acpi function of xge led control
authorLiuJian <liujian56@huawei.com>
Thu, 13 Jul 2017 10:57:54 +0000 (18:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jul 2017 15:18:07 +0000 (08:18 -0700)
commit3e8adc9e4a22482cf35b8889fe74b4f3b97a1620
treeb4b9ee736eda7010fb46b68c1f6729701a0923b6
parent9cc4460a19b2ae7b23916acd167933aba7f2a62f
net: hns: add acpi function of xge led control

The current code only support DT method to control xge led.
This patch is the implementation of acpi method to control xge led.

Signed-off-by: LiuJian <liujian56@huawei.com>
Reviewed-by: John Garry <john.garry@huawei.com>
Reviewed-by: Yunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: Daode Huang <huangdaode@hisilicon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c