usb: gadget: atmel: access the PMC using regmap
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 30 Sep 2015 10:57:10 +0000 (12:57 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 17 Feb 2016 16:53:03 +0000 (17:53 +0100)
commit4747639f01c9247250b351e02c179b337de7a159
treebf12dd7899d53ede9288c0b19222d95cbf8d2fbd
parent6c38bda9ae4ac442b904416901c4dac6d2e53e70
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>
drivers/usb/gadget/udc/atmel_usba_udc.c
drivers/usb/gadget/udc/atmel_usba_udc.h