[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <118417672.210985.1358864130303.JavaMail.root@mail.savoirfairelinux.com>
Date: Tue, 22 Jan 2013 09:15:30 -0500 (EST)
From: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
To: Jiri Kosina <jkosina@...e.cz>
Cc: simon@...gewell.org, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] HID: add ThingM blink(1) USB RGB LED support
> > The vendor's name is "ThingM" and the product's name is "blink(1)",
> > not "blink".
> > Given that, would you prefer to keep "blink(1)::1234", or would it
> > rather be
> > "thingm-blink1::1234" (avoiding parenthesis)?
> >
> > I ask the same question for the driver name, which is actually
> > "blink(1)".
>
> Actually, for HID bus drivers, we are mostly following the convention
> of
> having just the vendor name in the driver, see hid-microsoft,
> hid-logitech, etc.
>
> So it'd make most sense to me to name the driver hid-thingm, and in
> case
> it is driving blink(1) device (no other devices will be driven by it
> currently), let it create /sys/class/leds/blink1...
Ok, makes sense to me!
Thanks,
Vivien
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists