iio: chemical: fix spelling mistake "failted" -> "failed"
authorColin Ian King <colin.king@canonical.com>
Fri, 3 Aug 2018 11:55:51 +0000 (12:55 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 3 Aug 2018 21:33:48 +0000 (22:33 +0100)
fix spelling mistake in dev_err error message text

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/bme680_core.c

index 7d9bb62..5de9e27 100644 (file)
@@ -577,7 +577,7 @@ static int bme680_gas_config(struct bme680_data *data)
        /* set target heating duration */
        ret = regmap_write(data->regmap, BME680_REG_GAS_WAIT_0, heatr_dur);
        if (ret < 0) {
-               dev_err(dev, "failted to write gas_wait_0 register\n");
+               dev_err(dev, "failed to write gas_wait_0 register\n");
                return ret;
        }