aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2014-03-07 13:40:55 -0700
committerGreg Kroah-Hartman <[email protected]>2014-03-17 12:38:52 -0700
commit050389f5eb81180410f3033306c5f7d9f7f362a8 (patch)
tree1ddb910ca79357de9e89562912fb03039c318051 /tools/perf/scripts/python/syscall-counts.py
parentc6cd0eefb27b47a3f67ec0adbea14b4f97d72ec9 (diff)
staging: comedi: jr3_pci: tidy up subdevice init
For aesthetics, use a pointer to the comedi_subdevice instead of accessing the dev->subdevices array directly. Move the local variable for the subdevice private data so that this function does not declare the variable twice. Change the kzalloc for the subdevice private data to remove the sizeof(struct foo). Signed-off-by: H Hartley Sweeten <[email protected]> Cc: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions