]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: sunhme: use pci_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 2 Sep 2013 08:12:41 +0000 (17:12 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 02:38:46 +0000 (22:38 -0400)
commit521a87cdaece333cb2b89dd6393613119af5a431
tree2f09533641a7f596f228340ae79ae41602021cd0
parent1895499230b94c9c043969b312fb7898f815ace0
net: sunhme: use pci_{get,set}_drvdata()

Use the wrapper functions for getting and setting the driver data
using pci_dev instead of using dev_{get,set}_drvdata() with
&pdev->dev, so we can directly pass a struct pci_dev. This is
a purely cosmetic change.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunhme.c