net: remove driver_data direct access of struct device
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Apr 2009 12:19:31 +0000 (12:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2009 22:21:55 +0000 (15:21 -0700)
commit1aec5bdfed91b50aedbcad43393bcb05033c7ef3
tree258db4a51298bc18f859170e8d611a8e3b406b0f
parentaba7453037c3a90714caae77a622dceaf1173786
net: remove driver_data direct access of struct device

In the near future, the driver core is going to not allow direct access
to the driver_data pointer in struct device.  Instead, the functions
dev_get_drvdata() and dev_set_drvdata() should be used.  These functions
have been around since the beginning, so are backwards compatible with
all older kernel versions.

Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/3c509.c
drivers/net/depca.c
drivers/net/hp100.c
drivers/net/ne3210.c
drivers/net/smc-mca.c
drivers/net/tulip/de4x5.c
drivers/net/usb/hso.c