OSDN Git Service

net: mvpp2: Use devm_clk_get_optional()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 May 2021 09:58:07 +0000 (12:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 May 2021 21:47:23 +0000 (14:47 -0700)
commitcf3399b731d36bc780803ff63e4d480a1efa33ac
tree0c92e0d813787202345a32be4f333269b7af0ab0
parent692b82c57f71bc755c879ea4eae7fc0eb92cc00b
net: mvpp2: Use devm_clk_get_optional()

Replace open coded variants of devm_clk_get_optional().

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c