[PATCH] staging: comedi: hwdrv_apci1500: use dev->class_dev in calls to dev_warn()
Hartley Sweeten
HartleyS at visionengravers.com
Thu Sep 4 00:01:40 UTC 2014
On Wednesday, September 03, 2014 4:59 PM, Chase Southwood wrote:
> 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 <chase.southwood at gmail.com>
> Cc: Ian Abbott <abbotti at mev.co.uk>
> Cc: H Hartley Sweeten <hsweeten at visionengravers.com>
Hmm.. I thought I caught all of these.
Thanks
Reviewed-by: H Hartley Sweeten <hsweeten at visionengravers.com>
More information about the devel
mailing list