]> git.karo-electronics.de Git - linux-beck.git/commit
usb: chipidea: remove duplicate dev_set_drvdata for host_start
authorPeter Chen <peter.chen@freescale.com>
Wed, 26 Nov 2014 05:44:34 +0000 (13:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 17:28:12 +0000 (09:28 -0800)
commit14b4099c074f2ddf4d84b22d370170e61b527529
treef0194492b2bfebdd861faef0d19f75a7daac0562
parent5b1573005a91dc448e6919d6bec076bedc7e1919
usb: chipidea: remove duplicate dev_set_drvdata for host_start

The core driver has already done it, besides, move set driver data
operation just after ci has allocated successfully in case some
code (like ci_role_start) want to access this driver data.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/core.c
drivers/usb/chipidea/host.c