]> Git Repo - J-linux.git/commitdiff
iio: Convert unsigned to unsigned int
authorAndy Shevchenko <[email protected]>
Thu, 10 Oct 2024 18:15:35 +0000 (21:15 +0300)
committerJonathan Cameron <[email protected]>
Sat, 12 Oct 2024 11:41:24 +0000 (12:41 +0100)
Simple type conversion with no functional change implied.

Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
include/linux/iio/iio-opaque.h
include/linux/iio/iio.h

index 5aec3945555bf4bc720244585229bccc2681dd5e..a89e7e43e4418484f1da5665b386d3d359d661a1 100644 (file)
@@ -70,7 +70,7 @@ struct iio_dev_opaque {
 
 #if defined(CONFIG_DEBUG_FS)
        struct dentry                   *debugfs_dentry;
-       unsigned                        cached_reg_addr;
+       unsigned int                    cached_reg_addr;
        char                            read_buf[20];
        unsigned int                    read_buf_len;
 #endif
index 18779b631e9071801958fc9d50b941b548fab940..3a9b57187a958d6e65c699cf7814df5bac9a99e3 100644 (file)
@@ -282,11 +282,11 @@ struct iio_chan_spec {
        const struct iio_chan_spec_ext_info *ext_info;
        const char              *extend_name;
        const char              *datasheet_name;
-       unsigned                modified:1;
-       unsigned                indexed:1;
-       unsigned                output:1;
-       unsigned                differential:1;
-       unsigned                has_ext_scan_type:1;
+       unsigned int            modified:1;
+       unsigned int            indexed:1;
+       unsigned int            output:1;
+       unsigned int            differential:1;
+       unsigned int            has_ext_scan_type:1;
 };
 
 
@@ -541,13 +541,13 @@ struct iio_info {
        int (*update_scan_mode)(struct iio_dev *indio_dev,
                                const unsigned long *scan_mask);
        int (*debugfs_reg_access)(struct iio_dev *indio_dev,
-                                 unsigned reg, unsigned writeval,
-                                 unsigned *readval);
+                                 unsigned int reg, unsigned int writeval,
+                                 unsigned int *readval);
        int (*fwnode_xlate)(struct iio_dev *indio_dev,
                            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,
-                                     unsigned count);
+                                     unsigned int count);
 };
 
 /**
@@ -609,7 +609,7 @@ struct iio_dev {
        int                             scan_bytes;
 
        const unsigned long             *available_scan_masks;
-       unsigned                        __private masklength;
+       unsigned int                    __private masklength;
        const unsigned long             *active_scan_mask;
        bool                            scan_timestamp;
        struct iio_trigger              *trig;
This page took 0.048721 seconds and 4 git commands to generate.