From: H Hartley Sweeten Date: Fri, 30 Aug 2013 18:45:25 +0000 (-0700) Subject: staging: comedi: comedi_parport: fix parport_insn_config_a() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~756 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f2843d17e3ca7aac99f5d77d690a80f10878a4a;p=pandora-kernel.git staging: comedi: comedi_parport: fix parport_insn_config_a() This is the (*insn_config) function for a DIO subdevice. It should be using the data[0] value as the "instruction" to perform on the subdevice. Use the comedi_dio_insn_config() helper to properly handle instructions. Also, rename the function to better describe it's use. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed