]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm: nouveau: Don't use i2c_client->driver
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 29 Sep 2013 08:51:03 +0000 (10:51 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 3 Oct 2013 20:28:28 +0000 (22:28 +0200)
commit395c994264bba13b5de73d0a8da6842df8ac47bf
tree36a072a0c7869b9d8890c33b32cd3947a0bf3e66
parent3ee81b7aefcc4d5c031dcac5df8683cadc7b6ee2
drm: nouveau: Don't use i2c_client->driver

The 'driver' field of the i2c_client struct is redundant and is going to be
removed. Use 'to_i2c_driver(client->dev.driver)' instead to get direct access to
the i2c_driver struct.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/gpu/drm/nouveau/core/subdev/therm/ic.c