From: Chase Southwood Date: Wed, 3 Sep 2014 23:58:49 +0000 (-0500) Subject: staging: comedi: hwdrv_apci1500: use dev->class_dev in calls to dev_warn() X-Git-Tag: fixes-for-v3.18-merge-window~15^2~708 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=948ffcfd74ef8dece6621200c6862a781e77753e;p=pandora-kernel.git staging: comedi: hwdrv_apci1500: use dev->class_dev in calls to dev_warn() git-grep reveals that hwdrv_apci1500.c is the only file in comedi that uses dev->hw_dev in calls to dev_{err,warn}(). The rest of the drivers pass dev->class_dev to these macros instead. Switch the dev_warn() calls in this driver to use dev->class_dev as well, for consistency. Signed-off-by: Chase Southwood Reviewed-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed