]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
TWL4030: use symbolic ISR/IMR register names during twl_init_irq()
authorPaul Walmsley <paul@pwsan.com>
Tue, 22 Jul 2008 23:51:45 +0000 (17:51 -0600)
committerTony Lindgren <tony@atomide.com>
Mon, 4 Aug 2008 14:15:02 +0000 (17:15 +0300)
commit5717598f19a100da89b136798af2cb8075c66063
tree5f01169c022eb6b022d8bd7ae18e36cf0c9dfaf7
parentce5dd0bbc805ab40ad15d9ace8db46a6fa13adc6
TWL4030: use symbolic ISR/IMR register names during twl_init_irq()

twl_init_irq() uses a bunch of magic numbers as register indices; this
has already led to several errors, fixed earlier in this patch series.
Now use descriptive macros instead of magic numbers.  This patch should
not change kernel behavior.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/twl4030-core.c