Messages in this thread | | | From | Rafał Miłecki <> | Date | Mon, 18 Jul 2016 06:44:49 +0200 | Subject | Re: [PATCH V2] leds: trigger: Introduce an USB port trigger |
| |
On 18 July 2016 at 04:31, Peter Chen <hzpeterchen@gmail.com> wrote: > On Fri, Jul 15, 2016 at 11:10:45PM +0200, Rafał Miłecki wrote: >> + >> +usbport trigger: >> +- usb-ports : List of USB ports that usbport should observed for turning on a >> + given LED. >> + > > %s/should/should be
Thanks.
>> diff --git a/drivers/leds/trigger/ledtrig-usbport.c b/drivers/leds/trigger/ledtrig-usbport.c >> new file mode 100644 >> index 0000000..97b064c >> --- /dev/null >> +++ b/drivers/leds/trigger/ledtrig-usbport.c >> @@ -0,0 +1,206 @@ >> +/* >> + * USB port LED trigger >> + * >> + * Copyright (C) 2016 Rafał Miłecki <rafal.milecki@gmail.com> >> + * >> + * This program is free software; you can redistribute it and/or modify >> + * it under the terms of the GNU General Public License as published by >> + * the Free Software Foundation; either version 2 of the License, or (at >> + * your option) any later version. >> + */ > > GPL v2 only. > >> +MODULE_AUTHOR("Rafał Miłecki <rafal.milecki@gmail.com>"); >> +MODULE_DESCRIPTION("USB port trigger"); >> +MODULE_LICENSE("GPL"); > > GPL v2
What's the reason for this? I don't have any real preference, but I never heard heard about kernel/Linux preference neither.
-- Rafał
| |