usb: gadget: gr_udc: improve platform_device variable name
authorAndreas Larsson <andreas@gaisler.com>
Thu, 27 Mar 2014 15:15:53 +0000 (16:15 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 21 Apr 2014 19:07:26 +0000 (14:07 -0500)
commit22876266de43ec24ae93f635490c40edabaf8278
tree444294ba78a2036827c0922a1ddc804ec3ae71dc
parentdca769bd5a76e9e634cc36987760306846153cac
usb: gadget: gr_udc: improve platform_device variable name

Rename struct platform_device pointers from ofdev to pdev for clarity,
while at that, also use platform_set/get_drvdata() helpers.

Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/gr_udc.c