]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: ks8842: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 04:58:30 +0000 (13:58 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:43:36 +0000 (17:43 -0400)
commit0dd14b670e873dc8c19821aca1d2a737c86c6bc7
tree36af2eb58045ec7cb1307ec624019b2a1f3dc21e
parente19eac0ec5a77fd53cd909a25435f7f6ac81d622
net: ks8842: use dev_get_platdata()

Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.

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