Thread (10 messages) 10 messages, 3 authors, 2017-07-27

Re: [PATCH v3] HID: wacom: Improve generic name generation

From: Jiri Kosina <jikos@kernel.org>
Date: 2017-07-20 13:41:27

On Thu, 29 Jun 2017, Benjamin Tissoires wrote:
OTOH, I would think having a more generic approach would be fine:
bool inline bool hid_is_using_driver(struct hid_device *hdev,
		struct hid_ll_driver *driver)
{
	return dev->ll_driver == driver;
}

And we can start adding the various extern definitions of the
ll_drivers in hid.h too...

How does that sound? Jiri?
Yeah, I find it slightly ugly, but at least it's generic :)

-- 
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