diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-04-02 20:49:10 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-04-07 08:36:38 +0100 |
commit | ebb9493c07e1bb3d7a443b32954f7ddf7f971d57 (patch) | |
tree | b77a5616072daf35f1a466d9fa03dcee3f470db8 /drivers/zorro | |
parent | bb142d4433e4c0294aa2727b576c72a2a4032c6e (diff) |
iio: trigger: Replace explicit casting and wrong specifier with proper one
By unknown reason device name is set with an index casted from int
to unsigned long while at the same time with "%ld" specifier. Both parts
seems wrong to me, thus replace replace explicit casting and wrong specifier
with proper one, i.e. "%d".
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210402174911.44408-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions