Commit dcb9ca0a authored by Guenter Roeck's avatar Guenter Roeck Committed by Jonathan Cameron
Browse files

iio/adc: (max1363) Remove duplicate code

parent 315ce4b8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1572,8 +1572,6 @@ static int max1363_probe(struct i2c_client *client,
	indio_dev->num_channels = st->chip_info->num_channels;
	indio_dev->info = st->chip_info->info;
	indio_dev->modes = INDIO_DIRECT_MODE;
	indio_dev->channels = st->chip_info->channels;
	indio_dev->num_channels = st->chip_info->num_channels;
	ret = max1363_initial_setup(st);
	if (ret < 0)
		goto error_free_available_scan_masks;