greybus: pwm: replace pr_err with dev_err
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 1 Sep 2015 10:25:28 +0000 (12:25 +0200)
committerJohan Hovold <johan@hovoldconsulting.com>
Wed, 2 Sep 2015 08:48:31 +0000 (10:48 +0200)
commit2630fbf828ed921bd52cfe1fbacc9ad16aa2f47a
treed410ea65c7fe8207236eb90644cbe64e0b362cdd
parent505c9d27b804f2b1e1e6432a89876df197432bbe
greybus: pwm: replace pr_err with dev_err

Replace pr_err with the more descriptive dev_err. Also include the error
code on failure to register the PWM chip.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/staging/greybus/pwm.c