We already have a variable to access '&op->connection->dev' directly,
lets reuse it.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Jean Pihet <jean.pihet@newoldbits.com>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
u8 intf_id;
if (request->payload_size < sizeof(*hot_unplug)) {
- dev_err(&op->connection->dev,
- "short hot unplug request received (%zu < %zu)\n",
+ dev_err(dev, "short hot unplug request received (%zu < %zu)\n",
request->payload_size, sizeof(*hot_unplug));
return -EINVAL;
}