diff options
| author | Jean Delvare <khali@linux-fr.org> | 2010-10-28 20:31:49 +0200 |
|---|---|---|
| committer | Jean Delvare <khali@endymion.delvare> | 2010-10-28 20:31:49 +0200 |
| commit | 21fc977551da43ec21ae0ebb859411afd4243d2b (patch) | |
| tree | 4d452b87875c6d9e2cbfb2c58eaa9ea45ee4821d /tools/perf/scripts/python | |
| parent | hwmon: (w83795) Delay reading pwm config registers (diff) | |
| download | linux-21fc977551da43ec21ae0ebb859411afd4243d2b.tar.gz linux-21fc977551da43ec21ae0ebb859411afd4243d2b.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
