Use a non-directory based hierarchical naming scheme
authorMichael Brown <mbrown@fensystems.co.uk>
Sun, 12 Mar 2006 18:43:13 +0000 (18:43 +0000)
committerMichael Brown <mbrown@fensystems.co.uk>
Sun, 12 Mar 2006 18:43:13 +0000 (18:43 +0000)
"qu<board>g<port>", inspired by "hda1".

kernel/quickusb.c

index e56f027..a271a48 100644 (file)
@@ -279,7 +279,7 @@ static int quickusb_register_devices ( struct quickusb_device *quickusb ) {
                if ( ( rc = quickusb_register_subdev ( quickusb, subdev_idx++,
                                                       &quickusb_gppio_fops,
                                                       gppio,
-                                                      "quickusb%d_gppio_%c",
+                                                      "qu%dg%c",
                                                       quickusb->board,
                                                       gppio_char ) ) != 0 )
                        return rc;