]> git.baikalelectronics.ru Git - kernel.git/commit
[Bluetooth] Switch to using input_dev->dev.parent
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 9 May 2007 07:15:30 +0000 (09:15 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 11 May 2007 06:45:03 +0000 (23:45 -0700)
commitdae5e5623ac0f60112b77f9b77c741406be39f91
tree2637cfe9b3fa929114c363bc341058d08e4da756
parent23544cebd76e3f57d0de0a70565a39eea06e6c98
[Bluetooth] Switch to using input_dev->dev.parent

In preparation for struct class_device -> struct device input core
conversion, switch to using input_dev->dev.parent when specifying
device position in sysfs tree.

Also, do not access input_dev->private directly, use helpers and
do not use kfree() on input device, use input_free_device() instead.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hidp/core.c