]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[PARISC] Fix up hil_kbd.c mismerge
authorMatthew Wilcox <willy@parisc-linux.org>
Mon, 3 Apr 2006 13:44:17 +0000 (13:44 +0000)
committerKyle McMartin <kyle@hera.kernel.org>
Fri, 21 Apr 2006 22:20:34 +0000 (22:20 +0000)
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
drivers/input/keyboard/hil_kbd.c

index 1dca3cf42a54c50209f80bb96e91bd4941244aa7..2e4abdc26367622c537bed24d99c2d92d8c83718 100644 (file)
@@ -350,11 +350,11 @@ static int hil_kbd_connect(struct serio *serio, struct serio_driver *drv)
        return 0;
  bail2:
        serio_close(serio);
+       serio_set_drvdata(serio, NULL);
  bail1:
        input_free_device(kbd->dev);
  bail0:
        kfree(kbd);
-       serio_set_drvdata(serio, NULL);
        return -EIO;
 }