iio: adc: at91: add suspend and resume callback
authorWenyou Yang <wenyou.yang@atmel.com>
Wed, 2 Nov 2016 09:21:48 +0000 (17:21 +0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 5 Nov 2016 16:33:00 +0000 (16:33 +0000)
commitbc3ae982e2fb498e2f5492497ea927a161380bc1
tree02a79c19e991cbe4e3a1fe802e6eb68f4879e5c6
parentab54163190f236e30772e6e8b4efc56a319ed0a6
iio: adc: at91: add suspend and resume callback

Add suspend/resume callback, support the pinctrl sleep state when
the system suspend as well.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/at91_adc.c