From: Conrad Gomes Date: Thu, 21 Nov 2013 19:57:57 +0000 (+0530) Subject: Staging: comedi: change pr_err to dev_err in __unioxx5_analog_write X-Git-Tag: v3.14-rc1~150^2~769 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c29d9a8816d20f90cf3d7ff830d07adf922be394;p=pandora-kernel.git Staging: comedi: change pr_err to dev_err in __unioxx5_analog_write This is a patch which subsitutes pr_err with the preferred dev_err for device drivers in __unioxx5_analog_write. The function definition of __unioxx5_analog_write has been changed to take the pointer to the struct comedi_subdevice as a parameter instead of the pointer to struct unioxx5_subd_priv. The pointers to the stuct device and the struct unioxx5_subd_priv are obtained through the pointer to the struct comedi_subdevice in this function. The function call to __unioxx5_analog_write in unioxx5_subdev_write has been changed to pass the pointer to the struct comedi_subdevice Signed-off-by: Conrad Gomes Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed