Re: [PATCH v2 2/2] iio: distance: srf08: add IIO driver for us ranger

From: Lars-Peter Clausen
Date: Sun Jan 15 2017 - 07:25:05 EST


On 01/10/2017 07:48 PM, Andreas Klinger wrote:
[...]
> + indio_dev->name = dev_name(&client->dev);

The name is supposed to be the type of the device, e.g. part name, not the
name of parent device instance. E.g. "srf08" in this case.