]> git.baikalelectronics.ru Git - kernel.git/commit
via-velocity: Use of_device_get_match_data to simplify code
authorTang Bin <tangbin@cmss.chinamobile.com>
Mon, 23 Aug 2021 11:33:37 +0000 (19:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Aug 2021 11:56:15 +0000 (12:56 +0100)
commit18270f652cbd78893a593acfdf1e89364a6f9852
tree9390d3b38d409df60e1b42b5090e8c26a5bda066
parent985a4aa8b2cb58219b227662254385c9602804e5
via-velocity: Use of_device_get_match_data to simplify code

Retrieve OF match data, it's better and cleaner to use
'of_device_get_match_data' over 'of_match_device'.

Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/via-velocity.c