commit | be8f16de76cdc6440c420b90f3fab768ac50a7a5 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue May 14 14:25:42 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 16 16:25:57 2013 -0700 |
tree | 749945210af7fdb84a4deebbf901dc212d81f432 | |
parent | c13626a2467b153f0f499c30d85722725c129881 [diff] |
staging: comedi: dt9812: pass the comedi_device * to dt9812_configure_gain() For aesthetic reasons, instead of passing the struct usb_dt9812 pointer, pass the comedi_device pointer to this function. Tidy up the function and use the comedi_device class_dev for the dev_err() message. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>