staging: iio: ad9832: use clock framework for clock reference
authorMarcelo Schmitt <marcelo.schmitt1@gmail.com>
Mon, 1 Apr 2019 14:37:45 +0000 (11:37 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 14 Apr 2019 12:22:30 +0000 (13:22 +0100)
commit566564e80b0ed23ffa4c40f7ad4224bf3327053a
tree4b73745832ad6c112a78ddafd98ae62f8f790095
parent7fe8f00051c0b052ef03949dd5fdeff7d378c867
staging: iio: ad9832: use clock framework for clock reference

Previously external clock were set through platform_data struct.
Now device uses clk struct defined in include/linux/clk.h to handle
external clock source.
It also removes mclk from platform_data struct.

Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/frequency/ad9832.c
drivers/staging/iio/frequency/ad9832.h