diff options
author | Peng Li <lipeng321@huawei.com> | 2021-02-12 11:21:03 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-12 13:13:15 -0800 |
commit | c318af3f568406a7a07194bf36c18d2053044ab4 (patch) | |
tree | 2bfbf780c86457a8e002c085869374e0e9045f37 /drivers/fpga/ice40-spi.c | |
parent | 433e2802775c370604b74378c00977b86623fa12 (diff) |
net: hns3: clean up hns3_dbg_cmd_write()
As more commands are added, hns3_dbg_cmd_write() is going to
get more bloated, so move the part about command check into
a separate function.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga/ice40-spi.c')
0 files changed, 0 insertions, 0 deletions