Hello, > This creates the mandatory name attribute for the device. > Already, I have sent same patch set[1]. > Signed-off-by: Manuel Stahl <manuel.stahl@xxxxxxxxxxxxxxxxx> > --- > drivers/iio/magnetometer/ak8975.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iio/magnetometer/ak8975.c b/drivers/iio/magnetometer/ak8975.c > index ff284e5..c61a764 100644 > --- a/drivers/iio/magnetometer/ak8975.c > +++ b/drivers/iio/magnetometer/ak8975.c > @@ -508,6 +508,7 @@ static int ak8975_probe(struct i2c_client *client, > mutex_init(&data->lock); > data->eoc_gpio = eoc_gpio; > indio_dev->dev.parent = &client->dev; > + indio_dev->name = id->name; > indio_dev->channels = ak8975_channels; > indio_dev->num_channels = ARRAY_SIZE(ak8975_channels); > indio_dev->info = &ak8975_info; > [1] http://marc.info/?l=linux-iio&m=139097191528544&w=2 -- Best Regards, -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html