diff options
| author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-03-03 23:34:42 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-03-25 20:10:12 +0000 |
| commit | cb98410db73f2584c8d8437472a7d4727f7c53fc (patch) | |
| tree | dd6e0c36169778a1ef2eefcd27d8e86c1b0e9b02 /tools/perf/scripts/python/gecko.py | |
| parent | 8c5b0ea6179d40dac239f772da706c2b779d29aa (diff) | |
iio: imu: st_lsm6dsx: drop casting to void in dev_set_drvdata
The C standard specifies that there is no need to cast from a pointer to
void [1]. Therefore, it can be safely dropped.
[1] C Standard Committee: https://c0x.shape-of-code.com/6.3.2.3.html
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20240303-void_in_dev_set_drvdata-v1-4-ae39027d740b@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
