From: Ian Abbott Date: Thu, 4 Apr 2013 13:59:07 +0000 (+0100) Subject: staging: comedi: rename dev parameter of device attribute functions X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~281 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a4e5a9f3c9f002b36fa91c1accae8f9b5c66cc8;p=pandora-kernel.git 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 Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed