diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-09-01 09:36:36 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-23 15:04:13 -0400 |
commit | e84bf2225d55fab90b4627c61d81ca2fb333907e (patch) | |
tree | fc8ad65d03310603cb3c1c32a9a3d1857f5cf7cd /drivers/staging/media/atomisp | |
parent | 90154e130f45f4fcad595058cc2d34ce412bec33 (diff) | |
download | op-kernel-dev-e84bf2225d55fab90b4627c61d81ca2fb333907e.zip op-kernel-dev-e84bf2225d55fab90b4627c61d81ca2fb333907e.tar.gz |
media: staging: atomisp: Remove dead code for MID (#2)
intel_mid_soc_stepping() is not used anywhere.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/staging/media/atomisp')
-rw-r--r-- | drivers/staging/media/atomisp/include/asm/intel_mid_pcihelpers.h | 1 | ||||
-rw-r--r-- | drivers/staging/media/atomisp/platform/intel-mid/intel_mid_pcihelpers.c | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/media/atomisp/include/asm/intel_mid_pcihelpers.h b/drivers/staging/media/atomisp/include/asm/intel_mid_pcihelpers.h index 0d7f5c6..5d8451e 100644 --- a/drivers/staging/media/atomisp/include/asm/intel_mid_pcihelpers.h +++ b/drivers/staging/media/atomisp/include/asm/intel_mid_pcihelpers.h @@ -24,4 +24,3 @@ void intel_mid_msgbus_write32_raw(u32 cmd, u32 data); void intel_mid_msgbus_write32(u8 port, u32 addr, u32 data); u32 intel_mid_msgbus_read32_raw_ext(u32 cmd, u32 cmd_ext); void intel_mid_msgbus_write32_raw_ext(u32 cmd, u32 cmd_ext, u32 data); -u32 intel_mid_soc_stepping(void); diff --git a/drivers/staging/media/atomisp/platform/intel-mid/intel_mid_pcihelpers.c b/drivers/staging/media/atomisp/platform/intel-mid/intel_mid_pcihelpers.c index 341bfd3..c34f461 100644 --- a/drivers/staging/media/atomisp/platform/intel-mid/intel_mid_pcihelpers.c +++ b/drivers/staging/media/atomisp/platform/intel-mid/intel_mid_pcihelpers.c @@ -154,10 +154,3 @@ void intel_mid_msgbus_write32(u8 port, u32 addr, u32 data) spin_unlock_irqrestore(&msgbus_lock, irq_flags); } EXPORT_SYMBOL(intel_mid_msgbus_write32); - -/* called only from where is later then fs_initcall */ -u32 intel_mid_soc_stepping(void) -{ - return pci_root->revision; -} -EXPORT_SYMBOL(intel_mid_soc_stepping); |