bus: omap_l3_noc: improve readability by using helper for slave event parsing
authorNishanth Menon <nm@ti.com>
Thu, 17 Apr 2014 17:33:50 +0000 (12:33 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 5 May 2014 19:33:58 +0000 (14:33 -0500)
commite4be3f3a040432398225d3634d44fc21f4807b7a
tree740df09c5e084c793de6417185e69ae9775766b6
parentc98aa7aaa24b7687a170b93c4bf3111a6d166069
bus: omap_l3_noc: improve readability by using helper for slave event parsing

Current interrupt handler does the first level parse to identify the
slave and then handles the slave even identification, reporting and
clearing of event as well. It is hence logical to split the handler
into two where the primary handler just parses the flagmux till it
identifies a slave and the slave handling, reporting and clearing is
done in a helper function.

While at it update the documentation in kerneldoc style.

Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Darren Etheridge <detheridge@ti.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>
drivers/bus/omap_l3_noc.c