mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
iio: Convert unsigned to unsigned int
Simple type conversion with no functional change implied. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20241010181535.3083262-1-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
f32ea7aab3
commit
8fa714ca33
|
|
@ -70,7 +70,7 @@ struct iio_dev_opaque {
|
||||||
|
|
||||||
#if defined(CONFIG_DEBUG_FS)
|
#if defined(CONFIG_DEBUG_FS)
|
||||||
struct dentry *debugfs_dentry;
|
struct dentry *debugfs_dentry;
|
||||||
unsigned cached_reg_addr;
|
unsigned int cached_reg_addr;
|
||||||
char read_buf[20];
|
char read_buf[20];
|
||||||
unsigned int read_buf_len;
|
unsigned int read_buf_len;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -282,11 +282,11 @@ struct iio_chan_spec {
|
||||||
const struct iio_chan_spec_ext_info *ext_info;
|
const struct iio_chan_spec_ext_info *ext_info;
|
||||||
const char *extend_name;
|
const char *extend_name;
|
||||||
const char *datasheet_name;
|
const char *datasheet_name;
|
||||||
unsigned modified:1;
|
unsigned int modified:1;
|
||||||
unsigned indexed:1;
|
unsigned int indexed:1;
|
||||||
unsigned output:1;
|
unsigned int output:1;
|
||||||
unsigned differential:1;
|
unsigned int differential:1;
|
||||||
unsigned has_ext_scan_type:1;
|
unsigned int has_ext_scan_type:1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -541,13 +541,13 @@ struct iio_info {
|
||||||
int (*update_scan_mode)(struct iio_dev *indio_dev,
|
int (*update_scan_mode)(struct iio_dev *indio_dev,
|
||||||
const unsigned long *scan_mask);
|
const unsigned long *scan_mask);
|
||||||
int (*debugfs_reg_access)(struct iio_dev *indio_dev,
|
int (*debugfs_reg_access)(struct iio_dev *indio_dev,
|
||||||
unsigned reg, unsigned writeval,
|
unsigned int reg, unsigned int writeval,
|
||||||
unsigned *readval);
|
unsigned int *readval);
|
||||||
int (*fwnode_xlate)(struct iio_dev *indio_dev,
|
int (*fwnode_xlate)(struct iio_dev *indio_dev,
|
||||||
const struct fwnode_reference_args *iiospec);
|
const struct fwnode_reference_args *iiospec);
|
||||||
int (*hwfifo_set_watermark)(struct iio_dev *indio_dev, unsigned val);
|
int (*hwfifo_set_watermark)(struct iio_dev *indio_dev, unsigned int val);
|
||||||
int (*hwfifo_flush_to_buffer)(struct iio_dev *indio_dev,
|
int (*hwfifo_flush_to_buffer)(struct iio_dev *indio_dev,
|
||||||
unsigned count);
|
unsigned int count);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -609,7 +609,7 @@ struct iio_dev {
|
||||||
int scan_bytes;
|
int scan_bytes;
|
||||||
|
|
||||||
const unsigned long *available_scan_masks;
|
const unsigned long *available_scan_masks;
|
||||||
unsigned __private masklength;
|
unsigned int __private masklength;
|
||||||
const unsigned long *active_scan_mask;
|
const unsigned long *active_scan_mask;
|
||||||
bool scan_timestamp;
|
bool scan_timestamp;
|
||||||
struct iio_trigger *trig;
|
struct iio_trigger *trig;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user