[PATCH] FMC: fix spelling mistake: "deivce" -> "device"

From: Colin King
Date: Sun May 14 2017 - 12:42:21 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Trivial fix to spelling mistake in dev_err message and join
split literal string onto one line to clean up checkpatch warning.

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
drivers/fmc/fmc-core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/fmc/fmc-core.c b/drivers/fmc/fmc-core.c
index 353fc546fb08..236ce00b7261 100644
--- a/drivers/fmc/fmc-core.c
+++ b/drivers/fmc/fmc-core.c
@@ -185,8 +185,8 @@ int fmc_device_register_n(struct fmc_device **devs, int n)
if (!fmc->carrier_name || !fmc->carrier_data ||
!fmc->device_id) {
dev_err(fmc->hwdev,
- "deivce nr %i: carrier name, "
- "data or dev_id not set\n", i);
+ "device nr %i: carrier name, data or dev_id not set\n",
+ i);
ret = -EINVAL;
}
if (ret)
--
2.11.0