OSDN Git Service

staging: iio: light: Fix quoted string split across lines
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>
Thu, 25 Sep 2014 17:09:09 +0000 (20:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 02:20:30 +0000 (22:20 -0400)
This fixes the following checkpatch.pl warning:
WARNING: quoted string split across lines

Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/light/isl29018.c

index f4e3ba0..a348918 100644 (file)
@@ -547,8 +547,8 @@ static int isl29018_chip_init(struct isl29018_chip *chip)
         */
        status = regmap_write(chip->regmap, ISL29018_REG_TEST, 0x0);
        if (status < 0) {
-               dev_err(chip->dev, "Failed to clear isl29018 TEST reg."
-                                       "(%d)\n", status);
+               dev_err(chip->dev, "Failed to clear isl29018 TEST reg.(%d)\n",
+                       status);
                return status;
        }
 
@@ -558,8 +558,8 @@ static int isl29018_chip_init(struct isl29018_chip *chip)
         */
        status = regmap_write(chip->regmap, ISL29018_REG_ADD_COMMAND1, 0);
        if (status < 0) {
-               dev_err(chip->dev, "Failed to clear isl29018 CMD1 reg."
-                                       "(%d)\n", status);
+               dev_err(chip->dev, "Failed to clear isl29018 CMD1 reg.(%d)\n",
+                       status);
                return status;
        }