]> err.no Git - linux-2.6/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)
commit5be3946647424b08db0f62c545215cf506af8a52
tree2637cfe9b3fa929114c363bc341058d08e4da756
parent129a84de2347002f09721cda3155ccfd19fade40
[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