hwmon: (w83795) Use dev_get_drvdata() where possible
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:49 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:49 +0000 (20:31 +0200)
commit21fc977551da43ec21ae0ebb859411afd4243d2b
tree4d452b87875c6d9e2cbfb2c58eaa9ea45ee4821d
parent1bb3450ce5050bc677c1995a60a0ddfe9e33e7b6
hwmon: (w83795) Use dev_get_drvdata() where possible

When we don't need the client pointer, calling dev_get_drvdata() is
more efficient that calling to_i2c_client() and then
i2c_get_clientdata().

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83795.c