@@ -1690,34 +1690,6 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, struct irqaction *new)
1690
1690
return ret ;
1691
1691
}
1692
1692
1693
- /**
1694
- * setup_irq - setup an interrupt
1695
- * @irq: Interrupt line to setup
1696
- * @act: irqaction for the interrupt
1697
- *
1698
- * Used to statically setup interrupts in the early boot process.
1699
- */
1700
- int setup_irq (unsigned int irq , struct irqaction * act )
1701
- {
1702
- int retval ;
1703
- struct irq_desc * desc = irq_to_desc (irq );
1704
-
1705
- if (!desc || WARN_ON (irq_settings_is_per_cpu_devid (desc )))
1706
- return - EINVAL ;
1707
-
1708
- retval = irq_chip_pm_get (& desc -> irq_data );
1709
- if (retval < 0 )
1710
- return retval ;
1711
-
1712
- retval = __setup_irq (irq , desc , act );
1713
-
1714
- if (retval )
1715
- irq_chip_pm_put (& desc -> irq_data );
1716
-
1717
- return retval ;
1718
- }
1719
- EXPORT_SYMBOL_GPL (setup_irq );
1720
-
1721
1693
/*
1722
1694
* Internal function to unregister an irqaction - used to free
1723
1695
* regular and special interrupts that are part of the architecture.
@@ -1858,22 +1830,6 @@ static struct irqaction *__free_irq(struct irq_desc *desc, void *dev_id)
1858
1830
return action ;
1859
1831
}
1860
1832
1861
- /**
1862
- * remove_irq - free an interrupt
1863
- * @irq: Interrupt line to free
1864
- * @act: irqaction for the interrupt
1865
- *
1866
- * Used to remove interrupts statically setup by the early boot process.
1867
- */
1868
- void remove_irq (unsigned int irq , struct irqaction * act )
1869
- {
1870
- struct irq_desc * desc = irq_to_desc (irq );
1871
-
1872
- if (desc && !WARN_ON (irq_settings_is_per_cpu_devid (desc )))
1873
- __free_irq (desc , act -> dev_id );
1874
- }
1875
- EXPORT_SYMBOL_GPL (remove_irq );
1876
-
1877
1833
/**
1878
1834
* free_irq - free an interrupt allocated with request_irq
1879
1835
* @irq: Interrupt line to free
0 commit comments