]> git.baikalelectronics.ru Git - kernel.git/commit
net: wireless: wl1251: use spi_get_drvdata() and spi_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 5 Apr 2013 20:36:25 +0000 (20:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Apr 2013 20:48:19 +0000 (16:48 -0400)
commit87b124fe3211c3565df06028e554ad94bdda14fd
treea3b73dc1ab75990a10a512e22d42f05e5c2c593b
parent26ecd3fcfebd6fba7176fbb30b747598c6ab4dec
net: wireless: wl1251: 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 <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/ti/wl1251/spi.c