From: Conrad Meyer Date: Sun, 9 Mar 2014 02:42:39 +0000 (-0500) Subject: Staging: comedi: Fix some raw printks with dev_warn() X-Git-Tag: v3.15-rc1~139^2~518 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0ba1e38e05212037b5107522f12537f8168c463;p=pandora-kernel.git Staging: comedi: Fix some raw printks with dev_warn() Brought to you with the help of sed and manual clean-up after. $ sed -i -e 's|printk("\\n|dev_warn(dev->hw_dev,\n\t"|' \ addi-data/hwdrv_apci1500.c Since all of these printk()s were for invalid API inputs and most of them returned -EINVAL, I fixed the rest of them to return -EINVAL as well. Signed-off-by: Conrad Meyer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed