OSDN Git Service

usb: gadget: dummy_hcd: Remove redundant platform_set_drvdata()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 6 May 2013 11:37:21 +0000 (17:07 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 15 May 2013 14:21:09 +0000 (17:21 +0300)
commita0c67276ee46a034ed1016fa4d8a1d54ab73aa15
tree5a0298d31d5f91cbf69825000b91d5390b340461
parente80ad12389e12813888b7ce45d6f5986d6f41779
usb: gadget: dummy_hcd: Remove redundant platform_set_drvdata()

Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/dummy_hcd.c