drm: encoder_slave: Don't use i2c_client->driver
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 29 Sep 2013 08:51:02 +0000 (10:51 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 3 Oct 2013 20:28:28 +0000 (22:28 +0200)
commit3ee81b7aefcc4d5c031dcac5df8683cadc7b6ee2
tree5e6e025090ca8ffbe40ddd22641cc55f729b63c8
parentf9d32f25084ce7a27f966a0e71eae6ee0fe2f5ab
drm: encoder_slave: 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. To get direct access to the i2c_driver struct use
'to_i2c_driver(client->dev.driver)'.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/gpu/drm/drm_encoder_slave.c