All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Input: pm8941-pwrkey - remove unneded semicolon
@ 2015-09-14 12:43 Javier Martinez Canillas
  2015-09-14 12:43 ` [PATCH 2/2] Input: mms114 - remove unneded semicolons Javier Martinez Canillas
  0 siblings, 1 reply; 3+ messages in thread
From: Javier Martinez Canillas @ 2015-09-14 12:43 UTC (permalink / raw)
  To: linux-kernel
  Cc: Javier Martinez Canillas, Courtney Cavin, Bjorn Andersson,
	Dmitry Torokhov, linux-input

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] Input: mms114 - remove unneded semicolons
  2015-09-14 12:43 [PATCH 1/2] Input: pm8941-pwrkey - remove unneded semicolon Javier Martinez Canillas
@ 2015-09-14 12:43 ` Javier Martinez Canillas
  2015-09-15  0:09   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Javier Martinez Canillas @ 2015-09-14 12:43 UTC (permalink / raw)
  To: linux-kernel
  Cc: Javier Martinez Canillas, Jingoo Han, Krzysztof Kozlowski,
	Dmitry Torokhov, linux-input

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] Input: mms114 - remove unneded semicolons
  2015-09-14 12:43 ` [PATCH 2/2] Input: mms114 - remove unneded semicolons Javier Martinez Canillas
@ 2015-09-15  0:09   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2015-09-15  0:09 UTC (permalink / raw)
  To: Javier Martinez Canillas, linux-kernel
  Cc: Jingoo Han, Dmitry Torokhov, linux-input

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-15  0:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-14 12:43 [PATCH 1/2] Input: pm8941-pwrkey - remove unneded semicolon Javier Martinez Canillas
2015-09-14 12:43 ` [PATCH 2/2] Input: mms114 - remove unneded semicolons Javier Martinez Canillas
2015-09-15  0:09   ` Krzysztof Kozlowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.