greybus: raw: use hexadecimal notation for request types

Use hexadecimal notation for request types in log messages.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Johan Hovold 2016-03-02 18:00:51 +01:00 committed by Greg Kroah-Hartman
parent 41993cd54f
commit c7733b6167

View File

@ -97,7 +97,7 @@ static int gb_raw_request_handler(struct gb_operation *op)
u32 len;
if (op->type != GB_RAW_TYPE_SEND) {
dev_err(dev, "unknown request type %d\n", op->type);
dev_err(dev, "unknown request type 0x%02x\n", op->type);
return -EINVAL;
}