Merge branch 'next' into for-linus
Prepare first round of input updates for 4.3 merge window.
This commit is contained in:
@@ -529,10 +529,8 @@ static int ads784x_hwmon_register(struct spi_device *spi, struct ads7846 *ts)
|
||||
|
||||
ts->hwmon = hwmon_device_register_with_groups(&spi->dev, spi->modalias,
|
||||
ts, ads7846_attr_groups);
|
||||
if (IS_ERR(ts->hwmon))
|
||||
return PTR_ERR(ts->hwmon);
|
||||
|
||||
return 0;
|
||||
return PTR_ERR_OR_ZERO(ts->hwmon);
|
||||
}
|
||||
|
||||
static void ads784x_hwmon_unregister(struct spi_device *spi,
|
||||
|
Reference in New Issue
Block a user