]> git.baikalelectronics.ru Git - kernel.git/commit
ehea: Use DEVICE_ATTR_*() macro
authorYueHaibing <yuehaibing@huawei.com>
Sun, 23 May 2021 06:02:23 +0000 (14:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2021 00:18:42 +0000 (17:18 -0700)
commit2132055a6cc83a282d602e8b8f27962bef46a46c
tree7f9f0bee3d2676cd096a14b8881dd6eb8e0aaa31
parentb9acbe0f9c6a6ea4d872a1999bc22e46466960a7
ehea: Use DEVICE_ATTR_*() macro

Use DEVICE_ATTR_*() helper instead of plain DEVICE_ATTR,
which makes the code a bit shorter and easier to read.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ehea/ehea_main.c