From: H Hartley Sweeten Date: Tue, 29 Jul 2014 22:01:37 +0000 (-0700) Subject: staging: comedi: mite: pass comedi_device to mite_setup() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bb7c3abe34349a5f3615159d80aaee25c34e2a7;p=pandora-kernel.git staging: comedi: mite: pass comedi_device to mite_setup() For aesthetics, pass the comedi_device to mite_setup() and mite_setup2() so that the dev->class_dev can be used in the dev_{level} message to make the messages have consistancy with the other comedi drivers. Remove the extra dev_warn() noise in the drivers when mite_setup() fails. Rename the 'use_iodwbsr_1' parameter and change it to a bool. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed