From: hayeswang Date: Tue, 18 Feb 2014 13:49:05 +0000 (+0800) Subject: r8152: move some functions from probe to open X-Git-Tag: v3.15-rc1~113^2~314^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e9da48161506bb24d6072be9dfcd62ac8d95b88;p=pandora-kernel.git r8152: move some functions from probe to open Add up method for rtl_ops and asign relative functions. Move clear_bp() and hw_phy_cfg() from init method to up method of rtl_ops. Call rtl_ops.up() for ndo_open() and rtl_ops.down for ndo_stop(). Replace allocating the memory in probe() with in ndo_open(). Signed-off-by: Hayes Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed