OSDN Git Service

staging: iio: frequency: ad9833: Load clock using clock framework
authorBeniamin Bia <biabeniamin@gmail.com>
Fri, 1 Feb 2019 15:01:38 +0000 (17:01 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 2 Feb 2019 17:06:49 +0000 (17:06 +0000)
commit8e8040c52e63546d1171c188a24aacf145a9a7e0
tree86406a37ed2849ac6fccc8cc6d54095c1e34b335
parent80109c32348d7b2e85def9efc3f9524fb166569d
staging: iio: frequency: ad9833: Load clock using clock framework

The clock frequency is loaded from device-tree using clock framework
instead of statically value. The change allow configuration of
the device via device-trees and better initialization sequence.
This is part of broader effort to add device-tree support to this driver
and take it out from staging.

Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/frequency/ad9834.c