Skip to content

Commit

Permalink
iio: adc: ad_pulsar: drop 5.10 compatibility
Browse files Browse the repository at this point in the history
This removes the #define IIO_DMA_MINALIGN from the ad_pulsar driver.
This was previously needed to support 5.10 kernels, but is no longer
needed since we are now based on the 6.1 kernel.

Signed-off-by: David Lechner <[email protected]>
  • Loading branch information
dlech authored and nunojsa committed Oct 20, 2023
1 parent 24c70ba commit b8d0e51
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/iio/adc/ad_pulsar.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>

/* 5.10 compatibility */
#include <linux/slab.h>
#define IIO_DMA_MINALIGN ARCH_KMALLOC_MINALIGN
/* end 5.10 compatibility */

#define AD_PULSAR_REG_CONFIG 0x00

#define AD7682_NUM_TEMP_CHANNELS 1
Expand Down

0 comments on commit b8d0e51

Please sign in to comment.