]> 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)
commit1e4babee70a2e2d8f9e0da06f013563b0e26f654
treeb4b9ee736eda7010fb46b68c1f6729701a0923b6
parent230cd1279d0019d52f9529c7d91c96d095cae755
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