diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2013-04-04 14:59:07 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-05 14:33:20 -0700 |
| commit | 7a4e5a9f3c9f002b36fa91c1accae8f9b5c66cc8 (patch) | |
| tree | dcafe93945721bc540329059c5d182b13bb52a97 /tools/perf/scripts/python/sctop.py | |
| parent | 0918e595ae45d99e0bd8a9950a0f0cb0e2a9c948 (diff) | |
staging: comedi: rename dev parameter of device attribute functions
Most of the comedi core uses the identifier `dev` to point to a `struct
comedi_device`. The device sysfs attribute functions such as
`show_max_read_buffer_kb()` use the parameter id `dev` to point to a
`struct device`. Rename the parameter to `csdev` for "class device" for
consistency with the functions that call `device_create()` to create
these class devices (`comedi_alloc_board_minor()` and
`comedi_alloc_subdevice_minor()`).
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
