commit | afe5c118bd07edcb00503bd0f4ab83a6e56ae9d8 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Nov 18 10:07:05 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Dec 21 15:57:40 2015 -0800 |
tree | cb693d775209708e7afbc524c470646b0bca8ced | |
parent | c1e07ea22a46c39cbd632233f716ec3a591d94ed [diff] |
staging: comedi: adv_pci_dio: post increment 'subdev' in (*auto_attach) For aesthetics, post-increment the 'subdev' index when used to get a comedi_subdevice pointer instead of incrementing it after the subdevice is initialized. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>