]> Git Repo - linux.git/commit - drivers/net/phy/spi_ks8995.c
net: phy: spi_ks8995: use spi_get_drvdata() and spi_set_drvdata()
authorJingoo Han <[email protected]>
Fri, 5 Apr 2013 20:37:07 +0000 (20:37 +0000)
committerDavid S. Miller <[email protected]>
Sun, 7 Apr 2013 20:48:19 +0000 (16:48 -0400)
commit5d5f18460f451d5d06f2f788c90cfccd6631139a
treef3e4b845570eaca5244547bd7cc70f6f9ea1359a
parentd60c5d205094218bf7e6277ee9f8ddf90f8c1624
net: phy: spi_ks8995: use spi_get_drvdata() and spi_set_drvdata()

Use the wrapper functions for getting and setting the driver data using
spi_device instead of using dev_{get|set}_drvdata with &spi->dev, so we
can directly pass a struct spi_device.

Signed-off-by: Jingoo Han <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/phy/spi_ks8995.c
This page took 0.054786 seconds and 4 git commands to generate.