Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b79c9a3c authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Greg Kroah-Hartman
Browse files

staging:iio:adc:ad799x set the device name only once.

parent 231c5c3b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -878,7 +878,6 @@ static int __devinit ad799x_probe(struct i2c_client *client,
	indio_dev->dev.parent = &client->dev;
	indio_dev->name = id->name;
	indio_dev->info = st->chip_info->info;
	indio_dev->name = id->name;

	indio_dev->modes = INDIO_DIRECT_MODE;
	indio_dev->channels = st->chip_info->channel;