Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: adc: max11410: Use asm intead of asm-generic

There is no point to specify asm-generic for the unaligned.h.
Drop the 'generic' suffix and move the inclusion to be after
the non-IIO linux/* ones.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230103144903.39905-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Andy Shevchenko and committed by
Jonathan Cameron
591a6bc7 4b570fe0

+2 -1
+2 -1
drivers/iio/adc/max11410.c
··· 4 4 * 5 5 * Copyright 2022 Analog Devices Inc. 6 6 */ 7 - #include <asm-generic/unaligned.h> 8 7 #include <linux/bitfield.h> 9 8 #include <linux/delay.h> 10 9 #include <linux/device.h> ··· 14 15 #include <linux/regmap.h> 15 16 #include <linux/regulator/consumer.h> 16 17 #include <linux/spi/spi.h> 18 + 19 + #include <asm/unaligned.h> 17 20 18 21 #include <linux/iio/buffer.h> 19 22 #include <linux/iio/sysfs.h>