From: Lucas Stach Date: Thu, 23 Jul 2015 14:06:20 +0000 (+0200) Subject: net: fec: introduce fec_ptp_stop and use in probe fail path X-Git-Tag: omap-for-v4.3/fixes-merge-window~158^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32cba57ba74be58589aeb4cb6496183e46a5e3e5;p=pandora-kernel.git net: fec: introduce fec_ptp_stop and use in probe fail path This function frees resources and cancels delayed work item that have been initialized in fec_ptp_init(). Use this to do proper error handling if something goes wrong in probe function after fec_ptp_init has been called. Signed-off-by: Lucas Stach Acked-by: Fugang Duan Signed-off-by: David S. Miller --- Reading git-diff-tree failed