diff options
| author | hayeswang <hayeswang@realtek.com> | 2014-02-18 17:49:05 +0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-02-19 01:40:01 +0400 |
| commit | 7e9da48161506bb24d6072be9dfcd62ac8d95b88 (patch) | |
| tree | 40bf21be28fac330c7881ff804f605334953cbdd /scripts/checkpatch.pl | |
| parent | aa66a5f1af163b6c90fca5a06c7fdab121b70cd2 (diff) | |
| download | linux-7e9da48161506bb24d6072be9dfcd62ac8d95b88.tar.xz | |
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 <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
