Commit f8107cd6 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Jonathan Cameron

iio: temperature: max30208: Remove an unused field in struct max30208_data

In "struct max30208_data", the 'indio_dev' field is unused.
Remove it.

Found with cppcheck, unusedStructMember.
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/73f9f540ecdc7c10e833e6fc782324ae7d34ba9c.1714555144.git.christophe.jaillet@wanadoo.frSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent f26cc90a
......@@ -34,7 +34,6 @@
struct max30208_data {
struct i2c_client *client;
struct iio_dev *indio_dev;
struct mutex lock; /* Lock to prevent concurrent reads of temperature readings */
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment