net: mvmdio: do not clk_disable_unprepare() NULL clock
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 30 Sep 2016 21:56:37 +0000 (00:56 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Oct 2016 06:03:27 +0000 (02:03 -0400)
commitf814bfd765218908b23e21ca7f0b6f403fb88972
treeb2a681cebc8b41c3bb2b55a575953c74bb5b1aa3
parent7667d445fa9e84be028d2f658c537f4f5584d250
net: mvmdio: do not clk_disable_unprepare() NULL clock

There is no need to clk_disable_unprepare(dev->clk)
before it was initialized.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvmdio.c