Thread (4 messages) flat view 4 messages, 2 authors, 2016-01-28

Re: [Patch] hid: enhance hid-saitek for use with R.A.T.5 and similar

From: Jiri Kosina <jikos@kernel.org>
Date: 2016-01-28 08:53:43
Also in: lkml

On Thu, 28 Jan 2016, Piotr Sawuk wrote:
quoted
quoted
+	hdev = container_of(dev, struct hid_device, dev);
You can use to_hid_device() here.
sorry, didn't notice that recent addition.
my new patch wont work against older kernel versions though...
The only thing that really matters is that it works with the kernel it's 
being applied to and pushed upstream.

If anyone wants to backport it later to some older kernel, as part of a 
backport he'd have to open-code to_hide_device() ... no big deal.

Thanks,

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help