Re: [PATCH v2 2/2] Add support for Compact (Bluetooth|USB) keyboard with Trackpoint

From: Jiri Kosina
Date: Sat Jun 14 2014 - 01:33:57 EST


On Fri, 13 Jun 2014, Antonio Ospite wrote:

> > Previously the tpkbd driver had various functions marked "_tp" to indicate
> > that it's for the "mouse" half of the keyboard as the kernel sees it,
> > however it does nothing special with the keyboard half. I was intending
> > (somewhat sloppily) to repurpose this into having versions of each
> > function for each keyboard, and a common function to switch between them.
> > Should make it fairly easy to add extra keyboards in the future.
> >
> > The problem, as ever, is choosing decent names for them. It should
> > probably be either:-
> >
> > * tpkbd_input_mapping_usbkbd
> > * tpkbd_input_mapping_compactkbd
> > ...and tpkbd_input_mapping switches between them
> >
> > or rename the driver to hid-lenovo and do:-
> >
>
> I am OK with a rename. Most files in drivers/hid are per-vendor after
> all. Jiri?

Fine by me; the module doesn't take any parameters, so we are not risking
introducing regression for people who'd have put parameter settings in
modprobe.conf or some such.

So please go ahead with the rename.

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/