commit | 94cdefa81b99dd37239cdb147bc5a1473a3cdacc | [log] [tgz] |
---|---|---|
author | David Veenstra <davidjulianveenstra@gmail.com> | Fri May 18 20:21:44 2018 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun May 20 11:54:43 2018 +0100 |
tree | fcf807a54f4f1f200587a86802dd5c2e95222865 | |
parent | bc683b47c31d68050fd1cd5231804c3be2df1766 [diff] |
staging: iio: ad2s1200: Setup spi before iio device register The spi should be set up before the device is registered as an iio device. This patch moves the setup to before the device registration. Signed-off-by: David Veenstra <davidjulianveenstra@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>