From: Florian Fainelli Date: Wed, 21 Jan 2015 00:41:59 +0000 (-0800) Subject: net: phy: fixed: allow setting no update_link callback X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~148^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=799d44442c4821dec65fc59baa4ddc6783a25c54;p=pandora-kernel.git net: phy: fixed: allow setting no update_link callback fixed_phy_set_link_update() contains an early check against a NULL callback pointer, which basically prevents us from removing any previous callback we may have set. The users of the fp->link_update callback deal with a NULL callback just fine, so we really want to allow "removing" a link_update callback to avoid dangling callback pointers during e.g: module removal. Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed