diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-04-05 10:51:29 +0900 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-04-07 21:16:42 -0700 |
commit | debe597cca61aacf9e17a4dc155aa84446ab4bf0 (patch) | |
tree | 51ba9a0127629aba1741a1f6684a1c77385725ca /drivers/hwmon/lm87.c | |
parent | 4aa3eb4cbe0e6f307f7b4d37a8475bace51b773b (diff) | |
download | op-kernel-dev-debe597cca61aacf9e17a4dc155aa84446ab4bf0.zip op-kernel-dev-debe597cca61aacf9e17a4dc155aa84446ab4bf0.tar.gz |
hwmon: (ad7314) 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: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/lm87.c')
0 files changed, 0 insertions, 0 deletions