diff options
| author | Simon Guinot <[email protected]> | 2010-10-07 14:35:40 +0000 |
|---|---|---|
| committer | Nicolas Pitre <[email protected]> | 2010-10-07 18:00:23 +0000 |
| commit | e5971bbc1caf0ccbab3fea74fe37abb649d1c7cf (patch) | |
| tree | 727aface2c486bbea7b70f1b587497bad9885771 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | [ARM] Kirkwood: remove duplicated code in LaCie setup files (diff) | |
| download | kernel-e5971bbc1caf0ccbab3fea74fe37abb649d1c7cf.tar.gz kernel-e5971bbc1caf0ccbab3fea74fe37abb649d1c7cf.zip | |
leds: leds-ns2: fix private driver data storage
dev_set_drvdata() can't be used to set the driver private data pointer.
This would overwrite the led classdev object previously registered by
led_classdev_register().
Note that despite this mistake, the driver work fine because led_dat and
led_dat->cdev are at the same memory address.
Signed-off-by: Simon Guinot <[email protected]>
Signed-off-by: Nicolas Pitre <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
