net: mdio-mux-gpio: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 30 Aug 2013 05:09:26 +0000 (14:09 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:43:39 +0000 (17:43 -0400)
commit1b0e53a8f9e67c5f41d873194af9877d32e19976
treef0b44cc13e52695d727a5b6cbb3f8f3ff887c84f
parent9bc7b1cd5ca7a732a198282b6937013df1c6881c
net: mdio-mux-gpio: 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/phy/mdio-mux-gpio.c