]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27403e6456de5e5016221f0e8041b5893435cf4d
tree444294ba78a2036827c0922a1ddc804ec3ae71dc
parent2e05587e99fed3c296de8c85a242c2fcf3ad201d
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