usb: gadget: pch_udc: Use dev_get_drvdata

Instead of using to_pci_dev + pci_get_drvdata,
use dev_get_drvdata to make code simpler.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
This commit is contained in:
Chuhong Yuan 2019-07-24 21:18:49 +08:00 • committed by Felipe Balbi
commit 8484aa0cb3