It is safe to use the bundle device for error messages when we know we
have a bundle.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
         * about holding the connection lock.
         */
        if (bundle && gb_connection_intf_find(bundle->intf, cport_id)) {
-               dev_err(parent, "cport 0x%04hx already connected\n", cport_id);
+               dev_err(&bundle->dev, "cport 0x%04hx already connected\n",
+                               cport_id);
                return NULL;
        }