linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Skoglund <ericskog@gmail.com>
To: gregkh@linuxfoundation.org
Cc: shaun@xresource.ca, dulshani.gunawardhana89@gmail.com,
	sachin.kamat@linaro.org, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org, Eric Skoglund <eric@pagefault.se>
Subject: [PATCH 2/3] Drivers: Staging: cxt1e1: sbeid: Fixed braces coding style issue
Date: Tue, 12 Nov 2013 10:42:22 +0100	[thread overview]
Message-ID: <1384249343-10468-2-git-send-email-ericskog@gmail.com> (raw)
In-Reply-To: <1384249343-10468-1-git-send-email-ericskog@gmail.com>

From: Eric Skoglund <eric@pagefault.se>

This patch fixes a brace coding style issue.

Signed-off-by: Eric Skoglund <eric@pagefault.se>
---
 drivers/staging/cxt1e1/sbeid.c | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/drivers/staging/cxt1e1/sbeid.c b/drivers/staging/cxt1e1/sbeid.c
index 75efbc3..bf6c943 100644
--- a/drivers/staging/cxt1e1/sbeid.c
+++ b/drivers/staging/cxt1e1/sbeid.c
@@ -24,8 +24,7 @@ sbeid_get_bdname (ci_t *ci)
 {
 	char       *np = NULL;
 
-	switch (ci->brd_id)
-	{
+	switch (ci->brd_id) {
 	case SBE_BOARD_ID (PCI_VENDOR_ID_SBE, PCI_DEVICE_ID_WANPTMC_256T3_E1):
 		np = "wanPTMC-256T3 <E1>";
 		break;
@@ -73,8 +72,7 @@ sbeid_set_hdwbid (ci_t *ci)
 	 * have this register implemented)
 	 */
 
-	switch (ci->brd_id)
-	{
+	switch (ci->brd_id) {
         case SBE_BOARD_ID (PCI_VENDOR_ID_SBE, PCI_DEVICE_ID_WANPTMC_256T3_E1):
 		ci->hdw_bid = SBE_BID_256T3_E1; /* 0x46 - SBE wanPTMC-256T3 (E1
 						 * Version) */
@@ -89,8 +87,7 @@ sbeid_set_hdwbid (ci_t *ci)
 		 * This Board ID is a generic identification.  Use the found number
 		 * of ports to further define this hardware.
 		 */
-		switch (ci->max_port)
-		{
+		switch (ci->max_port) {
 		default:                    /* shouldn't need a default, but have one
 					     * anyway */
 		case 4:
@@ -130,8 +127,7 @@ sbeid_set_hdwbid (ci_t *ci)
 		 * This Board ID is a generic identification.  Use the number of
 		 * found ports to further define this hardware.
 		 */
-		switch (ci->max_port)
-		{
+		switch (ci->max_port) {
 		default:                    /* shouldn't need a default, but have one
 					     * anyway */
 		case 4:
@@ -166,8 +162,7 @@ void
 sbeid_set_bdtype (ci_t *ci)
 {
 	/* set SBE's unique PCI VENDOR/DEVID */
-	switch (ci->hdw_bid)
-	{
+	switch (ci->hdw_bid) {
         case SBE_BID_C1T3:      /* SBE wanPMC-C1T3 */
 		ci->brd_id = SBE_BOARD_ID (PCI_VENDOR_ID_SBE, PCI_DEVICE_ID_WANPMC_C1T3);
 		break;
-- 
1.8.3.1


  reply	other threads:[~2013-11-12  9:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-12  9:42 [PATCH 1/3] Drivers: Staging: cxt1e1: sbeid: Fixed coding style issue - space -> tabs Eric Skoglund
2013-11-12  9:42 ` Eric Skoglund [this message]
2013-11-12  9:42 ` [PATCH 3/3] Drivers: Staging: cxt1e1: stbeid: Fixed whitespace between function and parameters Eric Skoglund

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1384249343-10468-2-git-send-email-ericskog@gmail.com \
    --to=ericskog@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=dulshani.gunawardhana89@gmail.com \
    --cc=eric@pagefault.se \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sachin.kamat@linaro.org \
    --cc=shaun@xresource.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).