iio/adc: ingenic: rename has_aux2 to has_aux_md
authorChristophe Branchereau <cbranchereau@gmail.com>
Mon, 26 Jul 2021 08:20:29 +0000 (10:20 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 31 Jul 2021 17:14:53 +0000 (18:14 +0100)
commit9c5eb724f96f8d15226d7500d9412737598930f1
tree1fe44c36c02fd9ab954b73b195b22115f1e89b92
parent7a3605bef87801bc7c86e23c608bd2d096433966
iio/adc: ingenic: rename has_aux2 to has_aux_md

The jz4760(b) socs have 3 aux channels.

The purpose of has_aux2 is to set the MD bits used to select
the AUX channel to be sampled, not to describe the hardware.

Rename it to a more appropriate name.

Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20210726082033.351533-2-cbranchereau@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ingenic-adc.c