summaryrefslogtreecommitdiff
path: root/drivers/iio/chemical
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-08-03 14:55:51 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-08-04 00:33:48 +0300
commit5e45729608dd231a771817c7af4e2be61ef3b659 (patch)
treefd5b2c84e068d8294124a26847e0dcfe721eb89b /drivers/iio/chemical
parent156c3df8d4db4e693c062978186f44079413d74d (diff)
downloadlinux-5e45729608dd231a771817c7af4e2be61ef3b659.tar.xz
iio: chemical: fix spelling mistake "failted" -> "failed"
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>
Diffstat (limited to 'drivers/iio/chemical')
-rw-r--r--drivers/iio/chemical/bme680_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/chemical/bme680_core.c b/drivers/iio/chemical/bme680_core.c
index 7d9bb62baa3f..5de9e27c914a 100644
--- a/drivers/iio/chemical/bme680_core.c
+++ b/drivers/iio/chemical/bme680_core.c
@@ -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;
}