summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-09-29 10:51:01 +0200
committerWolfram Sang <wsa@the-dreams.de>2013-10-03 22:28:23 +0200
commitf9d32f25084ce7a27f966a0e71eae6ee0fe2f5ab (patch)
tree22836c5809b5c05b8fae96f41ba1d76f9a8cb720 /include/media
parentmedia: exynos4-is: Don't use i2c_client->driver (diff)
downloadlinux-f9d32f25084ce7a27f966a0e71eae6ee0fe2f5ab.tar.xz
linux-f9d32f25084ce7a27f966a0e71eae6ee0fe2f5ab.zip
media: core: Don't use i2c_client->driver
The 'driver' field of the i2c_client struct is redundant and is going to be removed. The results of the expressions 'client->driver.driver->field' and 'client->dev.driver->field' are identical, so replace all occurrences of the former with the later. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h
index 16550c439008..a707529841e2 100644
--- a/include/media/v4l2-common.h
+++ b/include/media/v4l2-common.h
@@ -35,7 +35,7 @@
printk(level "%s %d-%04x: " fmt, name, i2c_adapter_id(adapter), addr , ## arg)
#define v4l_client_printk(level, client, fmt, arg...) \
- v4l_printk(level, (client)->driver->driver.name, (client)->adapter, \
+ v4l_printk(level, (client)->dev.driver->name, (client)->adapter, \
(client)->addr, fmt , ## arg)
#define v4l_err(client, fmt, arg...) \