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


Groups > linux.kernel > #1224100

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

From Javier Martinez Canillas <javier@osg.samsung.com>
Newsgroups linux.kernel
Subject [PATCH 1/2] Input: pm8941-pwrkey - remove unneded semicolon
Date 2015-09-14 14:50 +0200
Message-ID <q8BmN-6tb-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[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

csiph-web