Commit 9bc7b1cd5ca7a732a198282b6937013df1c6881c
Committed by
David S. Miller
1 parent
387d40ac69
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
net: mdio-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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/net/phy/mdio-gpio.c