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: 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>

authored by

Andy Shevchenko and committed by
Jonathan Cameron
8fa714ca f32ea7aa

+11 -11
+1 -1
include/linux/iio/iio-opaque.h
··· 70 70 71 71 #if defined(CONFIG_DEBUG_FS) 72 72 struct dentry *debugfs_dentry; 73 - unsigned cached_reg_addr; 73 + unsigned int cached_reg_addr; 74 74 char read_buf[20]; 75 75 unsigned int read_buf_len; 76 76 #endif
+10 -10
include/linux/iio/iio.h
··· 282 282 const struct iio_chan_spec_ext_info *ext_info; 283 283 const char *extend_name; 284 284 const char *datasheet_name; 285 - unsigned modified:1; 286 - unsigned indexed:1; 287 - unsigned output:1; 288 - unsigned differential:1; 289 - unsigned has_ext_scan_type:1; 285 + unsigned int modified:1; 286 + unsigned int indexed:1; 287 + unsigned int output:1; 288 + unsigned int differential:1; 289 + unsigned int has_ext_scan_type:1; 290 290 }; 291 291 292 292 ··· 541 541 int (*update_scan_mode)(struct iio_dev *indio_dev, 542 542 const unsigned long *scan_mask); 543 543 int (*debugfs_reg_access)(struct iio_dev *indio_dev, 544 - unsigned reg, unsigned writeval, 545 - unsigned *readval); 544 + unsigned int reg, unsigned int writeval, 545 + unsigned int *readval); 546 546 int (*fwnode_xlate)(struct iio_dev *indio_dev, 547 547 const struct fwnode_reference_args *iiospec); 548 - int (*hwfifo_set_watermark)(struct iio_dev *indio_dev, unsigned val); 548 + int (*hwfifo_set_watermark)(struct iio_dev *indio_dev, unsigned int val); 549 549 int (*hwfifo_flush_to_buffer)(struct iio_dev *indio_dev, 550 - unsigned count); 550 + unsigned int count); 551 551 }; 552 552 553 553 /** ··· 609 609 int scan_bytes; 610 610 611 611 const unsigned long *available_scan_masks; 612 - unsigned __private masklength; 612 + unsigned int __private masklength; 613 613 const unsigned long *active_scan_mask; 614 614 bool scan_timestamp; 615 615 struct iio_trigger *trig;