iio: imx7d_adc: Introduce a definition for the input clock
authorFabio Estevam <festevam@gmail.com>
Mon, 3 Jun 2019 19:34:31 +0000 (16:34 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 Jun 2019 20:06:44 +0000 (21:06 +0100)
commit9ce92da84ff2eec3792edabbc3d3a654f2e2842a
tree3ea7879a8b6f077b0ae812d63f147f0cb15f17c9
parentfe93116459717eb363713b2e272006a46e914733
iio: imx7d_adc: Introduce a definition for the input clock

Since the input clock is always 24MHz, there is no need for storing
this value into a variable.

Use a definition instead, which is more appropriate in this case.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/imx7d_adc.c