usb: gadget: atmel: access the PMC using regmap

Use regmap to access the PMC to avoid using at91_pmc_read and
at91_pmc_write.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Alexandre Belloni 2015-09-30 12:57:10 +02:00
commit 4747639f01
2 changed files with 12 additions and 10 deletions