From: Ezequiel Garcia Date: Thu, 22 May 2014 23:07:00 +0000 (-0300) Subject: net: mvneta: Use prepare/commit API to simplify MAC address setting X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~149^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e68de36072e1b9012bc07fe18f83a6c30ce3d260;p=pandora-kernel.git net: mvneta: Use prepare/commit API to simplify MAC address setting Use eth_prepare_mac_addr_change and eth_commit_mac_addr_change, instead of manually checking and storing the MAC address, which makes the code slightly more robust. This fixes the lack of valid MAC address check in the driver's .ndo_set_mac_address hook. Signed-off-by: Ezequiel Garcia Signed-off-by: David S. Miller --- Reading git-diff-tree failed