android_kernel_xiaomi_sdm845/arch/arm/common
Hartley Sweeten bb06b73714 ARM: 5881/1: vic.c: reorganize code
This reorganizes the vic.c code in anticipation of a second patch
to use struct vic_device as the data stored in set_irq_chip_data().

The code now has the following flow:

1) struct vic_device definition, static variables, and to_vic()
   moved to the start of the code.
2) common code (vic_init2)
3) vic power management callbacks
4) vic power management initialization/registration
5) irq_chip callbacks
6) vendor specific vic initialization
7) vic initialization

In addition the typo vik_init_st is fixed (vic_init_st).

There is no functional change with this patch.

Tested-by: Linus Walleij <linus.walleij@stericsson.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Alessandro Rubini <rubini-list@gnudd.com>

Comments from Hartley Sweeten:

 Please change from Cc to:
 Tested-by: Alessandro Rubini <rubini@unipv.it>
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-01-20 12:28:29 +00:00
..
clkdev.c ARM: 5639/1: arm: clkdev.c should include <linux/clk.h> 2009-08-05 22:06:58 +01:00
dmabounce.c ARM: 5857/1: ARM: dmabounce: fix build 2009-12-22 15:32:32 +00:00
gic.c [ARM] 5556/1: Fix the irq_desc.cpu references 2009-06-19 15:11:16 +01:00
icst307.c [ARM] Off-by-one in arch/arm/common/icst* 2006-09-27 23:17:54 +01:00
icst525.c [ARM] Off-by-one in arch/arm/common/icst* 2006-09-27 23:17:54 +01:00
it8152.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
Kconfig Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6 into devel 2009-06-14 11:00:16 +01:00
locomo.c ARM: 5711/1: locomo.c: CodingStyle cleanups 2009-09-21 16:03:04 +01:00
Makefile [ARM] pxa/sharpsl_pm: merge the two sharpsl_pm.c since it's now pxa specific 2009-06-11 22:20:22 +08:00
sa1111.c ARM: 5735/1: sa1111: CodingStyle cleanups 2009-10-02 22:32:33 +01:00
scoop.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
sharpsl_param.c [ARM] 4733/1: export sharpsl_param 2008-10-03 10:18:35 +01:00
time-acorn.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
uengine.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
via82c505.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
vic.c ARM: 5881/1: vic.c: reorganize code 2010-01-20 12:28:29 +00:00