staging: iio: ad5933: use clock framework for clock reference
authorMarcelo Schmitt <marcelo.schmitt1@gmail.com>
Sat, 8 Dec 2018 18:19:38 +0000 (16:19 -0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Dec 2018 14:05:56 +0000 (14:05 +0000)
commit0e0a22aebd64319d0fbe765974ba1e6332d98543
tree4c7e6a3c99494edd83ea58cc1693bd8acdca59ff
parentc9d07120ab9a704927191ae44729f4b8abba797f
staging: iio: ad5933: use clock framework for clock reference

Add the option to specify the external clock (MCLK) using the clock
framework.
Also remove the old platform data structure.

Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Signed-off-by: Gabriel Capella <gabriel@capella.pro>
Co-developed-by: Gabriel Capella <gabriel@capella.pro>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/impedance-analyzer/ad5933.c