s5j/irq: tidy up a bit
Fixes trivial coding style issues, replacing spaces with tabs.
* language governing permissions and limitations under the License.
*
****************************************************************************/
-/****************************************************************************************************
+/****************************************************************************
* arch/arm/include/s5j/soc/s5jt200_irq.h
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ****************************************************************************************************/
+ ****************************************************************************/
-/* This file should never be included directed but, rather, only indirectly through tinyara/irq.h */
+/*
+ * This file should never be included directed but,
+ * rather, only indirectly through tinyara/irq.h
+ */
#ifndef __ARCH_ARM_INCLUDE_S5J_S5JT200_IRQ_H
#define __ARCH_ARM_INCLUDE_S5J_S5JT200_IRQ_H
-#define NR_VECTORS (512)
-#define NR_IRQS (512)
+#define NR_VECTORS 512
+#define NR_IRQS 512
#define S5J_IRQ_INVALID 0x3FF
#define IRQ_INVALID 0x3FF
-#define IRQ_SPI(x) (x + 32)
+#define IRQ_SPI(x) (32 + (x))
#define IRQ_EINT0 IRQ_SPI(0)
#define IRQ_EINT1 IRQ_SPI(1)
#define IRQ_CR4_VALIRQ IRQ_SPI(91)
#define IRQ_CR4_VALFIQ IRQ_SPI(92)
-#endif //__ARCH_ARM_INCLUDE_S5J_S5JT200_IRQ_H
+#endif /* __ARCH_ARM_INCLUDE_S5J_S5JT200_IRQ_H */
