iio: dac: ad5446: Separate I2C/SPI into different drivers

Properly separate the I2C and SPI drivers into two different drivers
living in their own source file (as usual). So that no need for the
hacky ifdefery.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Nuno Sá 2025-11-04 15:35:12 +00:00 • committed by Jonathan Cameron
commit 876d940240
7 changed files with 466 additions and 451 deletions