]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: set ptp_clock to NULL while unregister
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Mon, 25 Aug 2014 12:56:19 +0000 (14:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2014 22:33:10 +0000 (15:33 -0700)
commitd070ae8b0cf3b3e214ad178c502d20b91369ab5d
treeccbdbdb8617cf6109a542a55b8dc80b82b60bc19
parentaf21597d84121d21df3025d14ea61c4082e3a8fb
stmmac: set ptp_clock to NULL while unregister

This is to properly put to NULL the ptp_clock while un-register the PTP support.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c