mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Justin P. Mattock" <justinmattock@gmail.com>
To: trivial@kernel.org
Cc: linux-kernel@vger.kernel.org,
	"Justin P. Mattock" <justinmattock@gmail.com>
Subject: [RFC 14/21]drivers:staging Remove extra comma.
Date: Thu, 24 Mar 2011 12:26:52 -0700	[thread overview]
Message-ID: <1300994819-30930-14-git-send-email-justinmattock@gmail.com> (raw)
In-Reply-To: <1300994819-30930-1-git-send-email-justinmattock@gmail.com>

The patch below removes an extra comma from various parts 
of the kernel. Please have a look when you have time, and let
me know if its legit or not.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>

---
 drivers/staging/gma500/psb_buffer.c     |    4 ++--
 drivers/staging/gma500/psb_fb.c         |    2 +-
 drivers/staging/iio/addac/adt7316-i2c.c |    2 +-
 drivers/staging/iio/dds/ad9832.c        |    2 +-
 drivers/staging/iio/dds/ad9834.c        |    2 +-
 drivers/staging/rt2860/rtmp.h           |    2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/gma500/psb_buffer.c b/drivers/staging/gma500/psb_buffer.c
index 3077f6a..4f60850 100644
--- a/drivers/staging/gma500/psb_buffer.c
+++ b/drivers/staging/gma500/psb_buffer.c
@@ -384,12 +384,12 @@ static int psb_ttm_io_mem_reserve(struct ttm_bo_device *bdev,
 		break;
 	case TTM_PL_CI:
 		mem->bus.offset = mm_node->start << PAGE_SHIFT;
-		mem->bus.base = dev_priv->ci_region_start;;
+		mem->bus.base = dev_priv->ci_region_start;
 		mem->bus.is_iomem = true;
 		break;
 	case TTM_PL_RAR:
 		mem->bus.offset = mm_node->start << PAGE_SHIFT;
-		mem->bus.base = dev_priv->rar_region_start;;
+		mem->bus.base = dev_priv->rar_region_start;
 		mem->bus.is_iomem = true;
 		break;
 	default:
diff --git a/drivers/staging/gma500/psb_fb.c b/drivers/staging/gma500/psb_fb.c
index f67f53b..6c2b06e 100644
--- a/drivers/staging/gma500/psb_fb.c
+++ b/drivers/staging/gma500/psb_fb.c
@@ -194,7 +194,7 @@ static int psbfb_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
 	struct drm_device *dev = psbfb->base.dev;
 	struct drm_psb_private *dev_priv = dev->dev_private;
 	struct psb_gtt *pg = dev_priv->pg;
-	unsigned long phys_addr = (unsigned long)pg->stolen_base;;
+	unsigned long phys_addr = (unsigned long)pg->stolen_base;
 
 	page_num = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT;
 
diff --git a/drivers/staging/iio/addac/adt7316-i2c.c b/drivers/staging/iio/addac/adt7316-i2c.c
index 52d1ea3..1c86cf1 100644
--- a/drivers/staging/iio/addac/adt7316-i2c.c
+++ b/drivers/staging/iio/addac/adt7316-i2c.c
@@ -109,7 +109,7 @@ static int __devinit adt7316_i2c_probe(struct i2c_client *client,
 
 static int __devexit adt7316_i2c_remove(struct i2c_client *client)
 {
-	return adt7316_remove(&client->dev);;
+	return adt7316_remove(&client->dev);
 }
 
 static const struct i2c_device_id adt7316_i2c_id[] = {
diff --git a/drivers/staging/iio/dds/ad9832.c b/drivers/staging/iio/dds/ad9832.c
index 3e8491f..554441d 100644
--- a/drivers/staging/iio/dds/ad9832.c
+++ b/drivers/staging/iio/dds/ad9832.c
@@ -52,7 +52,7 @@ static int ad9832_write_frequency(struct ad9832_state *st,
 					((addr - 3) << ADD_SHIFT) |
 					((regval >> 0) & 0xFF));
 
-	return spi_sync(st->spi, &st->freq_msg);;
+	return spi_sync(st->spi, &st->freq_msg);
 }
 
 static int ad9832_write_phase(struct ad9832_state *st,
diff --git a/drivers/staging/iio/dds/ad9834.c b/drivers/staging/iio/dds/ad9834.c
index eb1a681..5086f9d 100644
--- a/drivers/staging/iio/dds/ad9834.c
+++ b/drivers/staging/iio/dds/ad9834.c
@@ -47,7 +47,7 @@ static int ad9834_write_frequency(struct ad9834_state *st,
 				       (AD9834_FREQ_BITS / 2)) &
 				       RES_MASK(AD9834_FREQ_BITS / 2)));
 
-	return spi_sync(st->spi, &st->freq_msg);;
+	return spi_sync(st->spi, &st->freq_msg);
 }
 
 static int ad9834_write_phase(struct ad9834_state *st,
diff --git a/drivers/staging/rt2860/rtmp.h b/drivers/staging/rt2860/rtmp.h
index d16b06a..afdf0bf 100644
--- a/drivers/staging/rt2860/rtmp.h
+++ b/drivers/staging/rt2860/rtmp.h
@@ -1683,7 +1683,7 @@ struct rt_rtmp_chip_op {
 	/* MCU related callback functions */
 	int (*loadFirmware) (struct rt_rtmp_adapter *pAd);	/* int (*loadFirmware)(struct rt_rtmp_adapter *pAd); */
 	int (*eraseFirmware) (struct rt_rtmp_adapter *pAd);	/* int (*eraseFirmware)(struct rt_rtmp_adapter *pAd); */
-	int (*sendCommandToMcu) (struct rt_rtmp_adapter *pAd, u8 cmd, u8 token, u8 arg0, u8 arg1);;	/* int (*sendCommandToMcu)(struct rt_rtmp_adapter *pAd, u8 cmd, u8 token, u8 arg0, u8 arg1); */
+	int (*sendCommandToMcu) (struct rt_rtmp_adapter *pAd, u8 cmd, u8 token, u8 arg0, u8 arg1);	/* int (*sendCommandToMcu)(struct rt_rtmp_adapter *pAd, u8 cmd, u8 token, u8 arg0, u8 arg1); */
 
 	/* RF access related callback functions */
 	struct rt_reg_pair *pRFRegTable;
-- 
1.7.4.1


  parent reply	other threads:[~2011-03-24 19:29 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-24 19:26 [RFC 01/21]arch:arm:mach " Justin P. Mattock
2011-03-24 19:26 ` [RFC 02/21]arch:ia64 " Justin P. Mattock
2011-03-24 19:26 ` [RFC 03/21]arch:um:drivers:mmapper_kern.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 04/21]arch:s390:hypfs:hypfs.h " Justin P. Mattock
2011-03-24 19:26 ` [RFC 05/21]drivers:scsi " Justin P. Mattock
2011-03-24 19:26 ` [RFC 06/21]drivers:leds:leds-mc13783.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 07/21]drivers:xen " Justin P. Mattock
2011-03-25 14:59   ` Konrad Rzeszutek Wilk
2011-03-24 19:26 ` [RFC 08/21]drivers:tty:serial:mrst_max3110.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 09/21]drivers:power:intel_mid_battery.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 10/21]drivers:gpio:langwell_gpio.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 11/21]drivers:net " Justin P. Mattock
2011-03-24 19:26 ` [RFC 12/21]drivers:video:mxsfb.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 13/21]drivers:i2c:busses:i2c-designware.c " Justin P. Mattock
2011-03-24 19:26 ` Justin P. Mattock [this message]
2011-03-24 23:20   ` [RFC 14/21]drivers:staging " Alan Cox
2011-03-24 23:26     ` Justin P. Mattock
2011-03-24 19:26 ` [RFC 15/21]drivers:target " Justin P. Mattock
2011-03-24 19:26 ` [RFC 16/21]fs:logfs " Justin P. Mattock
2011-03-24 19:26 ` [RFC 17/21]kernel:pm_qos_params.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 18/21]mm:hugetlb.c " Justin P. Mattock
2011-03-24 19:26 ` [RFC 19/21]net remove " Justin P. Mattock
2011-03-24 19:26 ` [RFC 20/21]security:selinux:selinuxfs.c Remove " Justin P. Mattock
2011-03-24 19:26 ` [RFC 21/21]tools:power:x86:turbostat:turbostat.c " Justin P. Mattock
2011-03-24 20:16 ` [RFC 01/21]arch:arm:mach " Nick Bowler
2011-03-24 20:17   ` Justin P. Mattock

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=1300994819-30930-14-git-send-email-justinmattock@gmail.com \
    --to=justinmattock@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@kernel.org \
    /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

all inboxes | Powered by JetHome®