]> git.baikalelectronics.ru Git - kernel.git/commit
gma500: being abstracting out devices a bit more
authorAlan Cox <alan@linux.intel.com>
Tue, 5 Jul 2011 14:38:26 +0000 (15:38 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 15:20:40 +0000 (08:20 -0700)
commit014a8fbc3704b7417b74429c4bd1d2a50cf3f025
treee90f61df9661bf409aa371cbc94069a60bef5117
parent68f72078c04fe7467a9e91b1decbc1e511e08f10
gma500: being abstracting out devices a bit more

We really want to move towards a completely abstracted interface rather
than having tons of per chip junk in the same files.

Begin with the power code which is probably the worst offender. Add a set
of methods, initialise a dev_priv->ops pointer and rip the chip specifics
out of the power code. While we are it pick up the display init bits.

So we know it's now chip specifics clean remove the psb_ naming from it.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/Makefile
drivers/staging/gma500/mdfld_device.c [new file with mode: 0644]
drivers/staging/gma500/mdfld_output.c
drivers/staging/gma500/mdfld_output.h
drivers/staging/gma500/mrst_device.c [new file with mode: 0644]
drivers/staging/gma500/power.c [new file with mode: 0644]
drivers/staging/gma500/psb_device.c [new file with mode: 0644]
drivers/staging/gma500/psb_drv.c
drivers/staging/gma500/psb_drv.h
drivers/staging/gma500/psb_fb.c
drivers/staging/gma500/psb_powermgmt.c [deleted file]