aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/fec_mpc52xx_phy.c
AgeCommit message (Collapse)AuthorFilesLines
2016-01-07mdio: Move allocation of interrupts into coreAndrew Lunn1-4/+0
Have mdio_alloc() create the array of interrupt numbers, and initialize it to POLLING. This is what most MDIO drivers want, so allowing code to be removed from the drivers. Signed-off-by: Andrew Lunn <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2015-03-17net/fsl: constify of_device_id arrayFabian Frederick1-1/+1
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2013-08-21net: fec_mpc52xx_phy: remove unnecessary dev_set_drvdata()Libo Chen1-1/+0
Unnecessary dev_set_drvdata() is removed, because the driver core clears the driver data to NULL after device_release or on probe failure. Signed-off-by: Libo Chen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2013-08-20net: fec_mpc52xx_phy: use platform_{get,set}_drvdata()Libo Chen1-2/+1
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &of->dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2011-08-12freescale: Move the Freescale driversJeff Kirsher1-0/+160
Move the Freescale drivers into drivers/net/ethernet/freescale/ and make the necessary Kconfig and Makefile changes. CC: Sandeep Gopalpet <[email protected]> CC: Andy Fleming <[email protected]> CC: Shlomi Gridish <[email protected]> CC: Li Yang <[email protected]> CC: Pantelis Antoniou <[email protected]> CC: Vitaly Bordug <[email protected]> CC: Dan Malek <[email protected]> CC: Sylvain Munaut <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>