Skip to contentSkip to conversation

MFD: jz4740-adc: Use generic irq chip

PATCH In review Lars-Peter Clausen 2 participants 2 messages Jun 3, 2011 – Jun 20, 2011 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MFD: jz4740-adc: Use generic irq chip

Use the generic irq chip framework for implementing the irq chip for the jz4740-adc driver.

---
 drivers/mfd/Kconfig      |    3 +-
 drivers/mfd/jz4740-adc.c |   90 ++++++++++++++-------------------------------
 2 files changed, 30 insertions(+), 63 deletions(-)
drivers/mfd/Kconfig +2 -1
index 0f09c05..a204124 100644
@@ -656,8 +656,9 @@ config MFD_JANZ_CMODIO
 	  CAN and GPIO controllers.
 
 config MFD_JZ4740_ADC
-	tristate "Support for the JZ4740 SoC ADC core"
+	bool "Support for the JZ4740 SoC ADC core"
 	select MFD_CORE
+	select GENERIC_IRQ_CHIP
 	depends on MACH_JZ4740
 	help
 	  Say yes here if you want support for the ADC unit in the JZ4740 SoC.
drivers/mfd/jz4740-adc.c +28 -62

143 lines not on this page · raw message

Signature · 1 line
1.7.2.5
#1 lore raw

Hi Lars-Peter,

Quoted 2 lines · Lars-Peter Clausen

Use the generic irq chip framework for implementing the irq chip for the jz4740-adc driver.

Nice, patch applied to my for-next branch.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/