commit | b96ecfa689126d1e652ebd758da0b5b9b27dbd12 | [log] [tgz] |
---|---|---|
author | Phil Sutter <n0-1@freewrt.org> | Wed Jan 14 21:46:51 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 15 08:28:17 2009 -0800 |
tree | 9caed6a7f1c863f52173695064cffc0ab08b0b37 | |
parent | 0ef00459a638ae4f5d1e5326d3e50232fa80119f [diff] |
korina: fix usage of driver_data Using platform_set_drvdata() here makes no sense, since the driver_data field has already been filled with valuable data (i.e. the MAC address). Also having driver_data point to the net_device is rather pointless since struct korina_device contains an apropriate field for it. Signed-off-by: Phil Sutter <n0-1@freewrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>