[PATCH RESEND 6/7] staging: sm7xx: remove driver version support

From: Javier M. Mellid
Date: Thu Apr 26 2012 - 14:46:42 EST


This patch removes non used version support. Code won't show version
message almost 4 years old.

Tested with SM712

Signed-off-by: Javier M. Mellid <jmunhoz@xxxxxxxxxx>
---
drivers/staging/sm7xx/smtcfb.c | 3 +--
drivers/staging/sm7xx/smtcfb.h | 2 --
2 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/sm7xx/smtcfb.c b/drivers/staging/sm7xx/smtcfb.c
index 5defdaf..83756a8 100644
--- a/drivers/staging/sm7xx/smtcfb.c
+++ b/drivers/staging/sm7xx/smtcfb.c
@@ -821,8 +821,7 @@ static int __devinit smtcfb_pci_probe(struct pci_dev *pdev,
int err;
unsigned long pFramebufferPhysical;

- dev_info(&pdev->dev,
- "Silicon Motion display driver " SMTC_LINUX_FB_VERSION);
+ dev_info(&pdev->dev, "Silicon Motion display driver.");

err = pci_enable_device(pdev); /* enable SMTC chip */
if (err)
diff --git a/drivers/staging/sm7xx/smtcfb.h b/drivers/staging/sm7xx/smtcfb.h
index 70283a1..43d86f8 100644
--- a/drivers/staging/sm7xx/smtcfb.h
+++ b/drivers/staging/sm7xx/smtcfb.h
@@ -13,8 +13,6 @@
* more details.
*/

-#define SMTC_LINUX_FB_VERSION "version 0.11.2619.21.01 July 27, 2008"
-
#define NR_PALETTE 256
#define NR_RGB 2

--
1.7.2.5

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