]> Git Repo - linux.git/commit
backlight: ams369fg06: use spi_get_drvdata and spi_set_drvdata
authorJingoo Han <[email protected]>
Fri, 22 Feb 2013 00:43:39 +0000 (16:43 -0800)
committerLinus Torvalds <[email protected]>
Fri, 22 Feb 2013 01:22:23 +0000 (17:22 -0800)
commitc7855f15e2bed7a35edecc3ebcaa445ea8a57848
tree80688bfb408c1b4d917f06c8ddcf9c6e3b771ada
parentb936fab023210398aa5846feb5af25f3cd33a52f
backlight: ams369fg06: 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: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/backlight/ams369fg06.c
This page took 0.049169 seconds and 4 git commands to generate.