greybus: arche-apb: Properly use dev_err/info/warn
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 11 Jan 2016 05:59:13 +0000 (11:29 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 11 Jan 2016 23:58:01 +0000 (15:58 -0800)
commitdb0cff554a612715701a04143df595cc87737d55
tree0a8a05349e32d22852de4191058a7dc767edc3ca
parentdcf77c397918178af09b72f63145eed3fde788ba
greybus: arche-apb: Properly use dev_err/info/warn

Use dev_err for errors after which we need to abort the currently
running routine and dev_warn for resource allocation failure, with which
we can continue to work.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/arche-apb-ctrl.c