From: H Hartley Sweeten Date: Mon, 23 Feb 2015 21:58:00 +0000 (-0700) Subject: staging: comedi: amplc_dio200_common: remove 'spinlock' from struct dio200_subdev_8254 X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~719 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99ca4e4613da5cb589de6b4127de75e520b32b43;p=pandora-kernel.git staging: comedi: amplc_dio200_common: remove 'spinlock' from struct dio200_subdev_8254 Currently this driver uses a spinlock in the 8254 subdevice (*insn_read), (*insn_write), and (*insn_config) functions. The comedi core checks if the subdevice is 'busy', in parse_insn(), before any of the subdevice functions are attempted. Remove the unnecessary spinlock. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed