gma500: being abstracting out devices a bit more
commit92367fe1bca91efa7f689127ba45080d4303d609
authorAlan Cox <alan@linux.intel.com>
Tue, 5 Jul 2011 14:38:26 +0000 (5 15:38 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 15:20:40 +0000 (5 08:20 -0700)
treee90f61df9661bf409aa371cbc94069a60bef5117
parentbcc70a64a443ec19f84bb0dc3268d2c95b52e209
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 [moved from drivers/staging/gma500/psb_powermgmt.c with 54% similarity]
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