]> 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)
commitad2d05839bfb3cd0633a96799945a703de03fe46
treeb4b9ee736eda7010fb46b68c1f6729701a0923b6
parent5fe38b9b820a8bbfa8e798baa054b57507a17cee
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