commit | 21fc977551da43ec21ae0ebb859411afd4243d2b | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Thu Oct 28 20:31:49 2010 +0200 |
committer | Jean Delvare <khali@endymion.delvare> | Thu Oct 28 20:31:49 2010 +0200 |
tree | 4d452b87875c6d9e2cbfb2c58eaa9ea45ee4821d | |
parent | 1bb3450ce5050bc677c1995a60a0ddfe9e33e7b6 [diff] |
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>