summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sm750fb/ddk750_swi2c.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-03-10 22:46:52 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-10 21:08:06 +0100
commit4933b29bd4e007a0544c97ea47fa0a091c5fec53 (patch)
treee31e6a83b6024e1423eafb11f19c47672ad25e74 /drivers/staging/sm750fb/ddk750_swi2c.c
parent5c7784b9d64027145ce4dee2b488c8c11af732cc (diff)
downloadop-kernel-dev-4933b29bd4e007a0544c97ea47fa0a091c5fec53.zip
op-kernel-dev-4933b29bd4e007a0544c97ea47fa0a091c5fec53.tar.gz
staging: sm750fb: remove unused functions
removed the functions which were not used anywhere. it has been build tested also confirmed with git grep that there is no other reference of these functions. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/ddk750_swi2c.c')
-rw-r--r--drivers/staging/sm750fb/ddk750_swi2c.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/sm750fb/ddk750_swi2c.c b/drivers/staging/sm750fb/ddk750_swi2c.c
index cae6b9b..1249759 100644
--- a/drivers/staging/sm750fb/ddk750_swi2c.c
+++ b/drivers/staging/sm750fb/ddk750_swi2c.c
@@ -79,14 +79,6 @@ static unsigned long g_i2cDataGPIOMuxReg = GPIO_MUX;
static unsigned long g_i2cDataGPIODataReg = GPIO_DATA;
static unsigned long g_i2cDataGPIODataDirReg = GPIO_DATA_DIRECTION;
-static unsigned char peekIO(unsigned short port,unsigned short index)
-{
-#if defined(__i386__) || defined( __x86_64__)
- outb_p(index,port);
- return inb_p(port+1);
-#endif
-}
-
/*
* This function puts a delay between command
*/
OpenPOWER on IntegriCloud