Hi, I noticed a trivial bug in the file 'drivers/iio/adc/ti-ads1015.c', in the function: static int ads1015_get_channels_config_of(struct i2c_client *client) { struct ads1015_data *data = i2c_get_clientdata(client); struct device_node *node; ... The pointer 'data' is not correctly assigned; its definition should look like: struct iio_dev *indio_dev = i2c_get_clientdata(client); struct ads1015_data *data = iio_priv(indio_dev); as is the case in: static void ads1015_get_channels_config(struct i2c_client *client) { .. giorgio
Attachment:
signature.asc
Description: OpenPGP digital signature