Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1224100 > unrolled thread

[PATCH 1/2] Input: pm8941-pwrkey - remove unneded semicolon

Started byJavier Martinez Canillas <javier@osg.samsung.com>
First post2015-09-14 14:50 +0200
Last post2015-09-15 02:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/2] Input: pm8941-pwrkey - remove unneded semicolon Javier Martinez Canillas <javier@osg.samsung.com> - 2015-09-14 14:50 +0200
    [PATCH 2/2] Input: mms114 - remove unneded semicolons Javier Martinez Canillas <javier@osg.samsung.com> - 2015-09-14 14:50 +0200
      Re: [PATCH 2/2] Input: mms114 - remove unneded semicolons Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-09-15 02:20 +0200

#1224100 — [PATCH 1/2] Input: pm8941-pwrkey - remove unneded semicolon

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2015-09-14 14:50 +0200
Subject[PATCH 1/2] Input: pm8941-pwrkey - remove unneded semicolon
Message-ID<q8BmN-6tb-3@gated-at.bofh.it>
It's not needed and is just creating a null statement so remove it.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---

 drivers/input/misc/pm8941-pwrkey.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/misc/pm8941-pwrkey.c b/drivers/input/misc/pm8941-pwrkey.c
index 867db8a91372..e317b75357a0 100644
--- a/drivers/input/misc/pm8941-pwrkey.c
+++ b/drivers/input/misc/pm8941-pwrkey.c
@@ -93,7 +93,7 @@ static int pm8941_reboot_notify(struct notifier_block *nb,
 	default:
 		reset_type = PON_PS_HOLD_TYPE_HARD_RESET;
 		break;
-	};
+	}
 
 	error = regmap_update_bits(pwrkey->regmap,
 				   pwrkey->baseaddr + PON_PS_HOLD_RST_CTL,
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1224101 — [PATCH 2/2] Input: mms114 - remove unneded semicolons

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2015-09-14 14:50 +0200
Subject[PATCH 2/2] Input: mms114 - remove unneded semicolons
Message-ID<q8BmN-6tb-1@gated-at.bofh.it>
In reply to#1224100
They aren't needed and are just creating null statements so remove it.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 drivers/input/touchscreen/mms114.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c
index 7cce87650fc8..1fafc9f57af6 100644
--- a/drivers/input/touchscreen/mms114.c
+++ b/drivers/input/touchscreen/mms114.c
@@ -394,12 +394,12 @@ static struct mms114_platform_data *mms114_parse_dt(struct device *dev)
 	if (of_property_read_u32(np, "x-size", &pdata->x_size)) {
 		dev_err(dev, "failed to get x-size property\n");
 		return NULL;
-	};
+	}
 
 	if (of_property_read_u32(np, "y-size", &pdata->y_size)) {
 		dev_err(dev, "failed to get y-size property\n");
 		return NULL;
-	};
+	}
 
 	of_property_read_u32(np, "contact-threshold",
 				&pdata->contact_threshold);
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1224558 — Re: [PATCH 2/2] Input: mms114 - remove unneded semicolons

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2015-09-15 02:20 +0200
SubjectRe: [PATCH 2/2] Input: mms114 - remove unneded semicolons
Message-ID<q8M8x-5ej-7@gated-at.bofh.it>
In reply to#1224101
On 14.09.2015 21:43, Javier Martinez Canillas wrote:
> They aren't needed and are just creating null statements so remove it.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> 
> ---
> 
>  drivers/input/touchscreen/mms114.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Patch is obvious (actually it could go to trivial tree), so FWIW:
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

Best regards,
Krzysztof

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web