Re: [PATCH 1/7] mfd: menelaus: delete omap_has_menelaus

2015-01-20 Thread Lee Jones
On Sat, 27 Dec 2014, Aaro Koskinen wrote:

 Delete unused macro.
 
 Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi
 ---
  include/linux/mfd/menelaus.h | 6 --
  1 file changed, 6 deletions(-)

Applied, thanks.

 diff --git a/include/linux/mfd/menelaus.h b/include/linux/mfd/menelaus.h
 index f097e89..a1e12bf3 100644
 --- a/include/linux/mfd/menelaus.h
 +++ b/include/linux/mfd/menelaus.h
 @@ -38,10 +38,4 @@ extern int menelaus_set_vcore_hw(unsigned int roof_mV, 
 unsigned int floor_mV);
  
  extern int menelaus_set_regulator_sleep(int enable, u32 val);
  
 -#if defined(CONFIG_ARCH_OMAP2)  defined(CONFIG_MENELAUS)
 -#define omap_has_menelaus()  1
 -#else
 -#define omap_has_menelaus()  0
 -#endif
 -
  #endif

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 1/7] mfd: menelaus: delete omap_has_menelaus

2014-12-27 Thread Aaro Koskinen
Delete unused macro.

Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi
---
 include/linux/mfd/menelaus.h | 6 --
 1 file changed, 6 deletions(-)

diff --git a/include/linux/mfd/menelaus.h b/include/linux/mfd/menelaus.h
index f097e89..a1e12bf3 100644
--- a/include/linux/mfd/menelaus.h
+++ b/include/linux/mfd/menelaus.h
@@ -38,10 +38,4 @@ extern int menelaus_set_vcore_hw(unsigned int roof_mV, 
unsigned int floor_mV);
 
 extern int menelaus_set_regulator_sleep(int enable, u32 val);
 
-#if defined(CONFIG_ARCH_OMAP2)  defined(CONFIG_MENELAUS)
-#define omap_has_menelaus()1
-#else
-#define omap_has_menelaus()0
-#endif
-
 #endif
-- 
2.2.0

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html